Functions | |
int | CreateLog () |
int | CloseLog (int LogId) |
void | Log (const char *format,...) |
int | WriteLog (int LogId, char *str) |
They must be explicity created by the object before using it (CreateLog)
int CloseLog | ( | int | LogId | ) |
Close a Log.
Closes and deallocates log resources for a given log.
LogId | Log Identifier to close |
0 error
int CreateLog | ( | ) |
Creates a log
Creates and allocates necessary resources for using a log file.
-1 if error
void Log | ( | const char * | format, | |
... | ||||
) |
Log
Write formated string to default log (1)
int WriteLog | ( | int | LogId, | |
char * | str | |||
) |
LogWrite
Writes a character string to a log
LogId | Log identifier | |
str | String to write |
0 error