Declaration of the CreateConsoleLogger() and DestroyConsoleLogger() factory functions used in the Bridge Pattern. More...
#include "Bridge_ILogger.h"
Go to the source code of this file.
Macros | |
#define | __BRIDGE_CONSOLELOGGER_H__ |
Functions | |
ILogger * | CreateConsoleLogger (void) |
Create an instance of an ILogger that outputs to a console. | |
void | DestroyConsoleLogger (ILogger *logger) |
Destroy the given instance of an ILogger for outputting to a console. | |
Declaration of the CreateConsoleLogger() and DestroyConsoleLogger() factory functions used in the Bridge Pattern.
Definition in file c/Bridge_ConsoleLogger.h.
#define __BRIDGE_CONSOLELOGGER_H__ |
Definition at line 8 of file c/Bridge_ConsoleLogger.h.
ILogger * CreateConsoleLogger | ( | void | ) |
Create an instance of an ILogger that outputs to a console.
Definition at line 79 of file Bridge_ConsoleLogger.c.
References _Console_LogError(), _Console_LogInfo(), _Console_LogTrace(), ILogger::data, ILogger::LogError, ILogger::LogInfo, and ILogger::LogTrace.
Referenced by CreateLogger().
void DestroyConsoleLogger | ( | ILogger * | logger | ) |
Destroy the given instance of an ILogger for outputting to a console.
logger | The ILogger instance to destroy. |
Definition at line 96 of file Bridge_ConsoleLogger.c.
Referenced by DestroyLogger().