void DestroyNullLogger(ILogger *logger)
Destroy the given instance of an ILogger for outputting to a console.
static void _Null_LogError(const char *message, void *data)
Write an error message to a null logger (basically, discard the log message).
static void _Null_LogTrace(const char *message, void *data)
Write a trace message to a null logger (basically, discard the log message).
ILogger * CreateNullLogger(void)
Create an instance of an ILogger that outputs to a console.
static void _Null_LogInfo(const char *message, void *data)
Write an informational message to a null logger (basically, discard the log message).
Declaration of the NullLogger class used in the Bridge Pattern.
void(* LogError)(const char *message, void *data)
Log error messages to the configured output.
void * data
Data associated with a specific instance of a logger.
void(* LogInfo)(const char *message, void *data)
Log informational messages to the configured output.
void(* LogTrace)(const char *message, void *data)