Can now log without new line.
This commit is contained in:
parent
ede81f734d
commit
6a23dd6667
6
log.c
6
log.c
@ -9,6 +9,12 @@ void startLog(char* filename)
|
||||
file = fopen(filename, "w");
|
||||
}
|
||||
|
||||
void logString(char* string)
|
||||
{
|
||||
if (!file) return;
|
||||
fputs(string, file);
|
||||
}
|
||||
|
||||
void logLine(char* string)
|
||||
{
|
||||
if (!file) return;
|
||||
|
Loading…
Reference in New Issue
Block a user