Data Fields | |
ESR_ReturnCode(* | printf )(struct PLogger_t *self, const LCHAR *format,...) |
ESR_ReturnCode(* | flush )(struct PLogger_t *self) |
void(* | destroy )(struct PLogger_t *self) |
ESR_ReturnCode(* PLogger::printf)(struct PLogger_t *self, const LCHAR *format,...) |
Prints and formats a message to the log.
self | the Logger. | |
format | the format string specifying the next arguments (a la printf). |
ESR_ReturnCode(* PLogger::flush)(struct PLogger_t *self) |
Flushes internal buffer. This function can be left unimplemented if no buffering is performed by the logger.
self | the Logger |
void(* PLogger::destroy)(struct PLogger_t *self) |
Destroys the logger. This function is responsible to deallocate any resources used by the logger. In particular, if buffering is internally used, it needs to flush the buffer.