7#ifndef __BRIDGE_LOGGER_H__
8#define __BRIDGE_LOGGER_H__
64 Logger(
const std::string& filename);
75 void LogInfo(std::string message);
LoggerTypes
A value passed to CreateLogger() to specify the type of logger to create.
Declaration of the ILogger interface used by all logger classes in the Bridge Pattern.
Represents the logger object to be used in the program.
void LogInfo(std::string message)
Log informational messages to the configured output.
void LogTrace(std::string message)
LoggerTypes
A value passed to Logger.Logger() constructor to specify the type of logger to create.
@ ToFile
Log to a file. One additional parameter: the name of the file to log to.
@ ToNull
Log to nowhere, that is, throw out all logging. No additional parameters.
@ ToConsole
Log to the console. No additional parameters.
void LogError(std::string message)
Log error messages to the configured output.
std::unique_ptr< ILogger > _logger
The namespace containing all Design Pattern Examples implemented in C++.