Declaration of the CreateNullLogger() and DestroyNullLogger() factory functions used in the Bridge Pattern. More...
#include "Bridge_ILogger.h"
Go to the source code of this file.
Macros | |
#define | __BRIDGE_NULLLOGGER_H__ |
Functions | |
ILogger * | CreateNullLogger (void) |
Create an instance of an ILogger that outputs to a console. | |
void | DestroyNullLogger (ILogger *logger) |
Destroy the given instance of an ILogger for outputting to a console. | |
Declaration of the CreateNullLogger() and DestroyNullLogger() factory functions used in the Bridge Pattern.
Definition in file c/Bridge_NullLogger.h.
#define __BRIDGE_NULLLOGGER_H__ |
Definition at line 8 of file c/Bridge_NullLogger.h.
ILogger * CreateNullLogger | ( | void | ) |
Create an instance of an ILogger that outputs to a console.
Definition at line 60 of file Bridge_NullLogger.c.
References _Null_LogError(), _Null_LogInfo(), _Null_LogTrace(), ILogger::data, ILogger::LogError, ILogger::LogInfo, and ILogger::LogTrace.
Referenced by CreateLogger().
void DestroyNullLogger | ( | ILogger * | logger | ) |
Destroy the given instance of an ILogger for outputting to a console.
logger | The ILogger instance to destroy. |
Definition at line 77 of file Bridge_NullLogger.c.
Referenced by DestroyLogger().