Chain Logger. More...
#include <deLoggerChain.h>
Public Member Functions | |
Constructors and Destructors | |
| deLoggerChain () | |
| Creates a new chain logger. | |
| virtual | ~deLoggerChain () |
| Cleans up the chain logger. | |
Management | |
| int | GetLoggerCount () const |
| Retrieves the number of loggers in the chain. | |
| deLogger * | GetLoggerAt (int index) const |
| Retrieves the logger at the given position. | |
| void | AddLogger (deLogger *logger) |
| Adds a logger to the chain. | |
| void | RemoveLogger (deLogger *logger) |
| Removes a logger from the chain. | |
| void | RemoveAllLoggers () |
| Removes all loggers from the chain. | |
| virtual void | LogInfo (const char *source, const char *message) |
| Log an information message. | |
| virtual void | LogWarn (const char *source, const char *message) |
| Log a warning message. | |
| virtual void | LogError (const char *source, const char *message) |
| Log an error message. | |
Chain Logger.
Provides logging support for the entire engine. Sends the log entries to multiple loggers in a given order. Useful to log a message in more than one place for example on the console and in a file.
| deLoggerChain::deLoggerChain | ( | ) |
Creates a new chain logger.
| virtual deLoggerChain::~deLoggerChain | ( | ) | [virtual] |
Cleans up the chain logger.
| void deLoggerChain::AddLogger | ( | deLogger * | logger ) |
Adds a logger to the chain.
| deLogger* deLoggerChain::GetLoggerAt | ( | int | index ) | const |
Retrieves the logger at the given position.
| int deLoggerChain::GetLoggerCount | ( | ) | const [inline] |
Retrieves the number of loggers in the chain.
| virtual void deLoggerChain::LogError | ( | const char * | source, |
| const char * | message | ||
| ) | [virtual] |
Log an error message.
Reimplemented from deLogger.
| virtual void deLoggerChain::LogInfo | ( | const char * | source, |
| const char * | message | ||
| ) | [virtual] |
Log an information message.
Reimplemented from deLogger.
| virtual void deLoggerChain::LogWarn | ( | const char * | source, |
| const char * | message | ||
| ) | [virtual] |
Log a warning message.
Reimplemented from deLogger.
| void deLoggerChain::RemoveAllLoggers | ( | ) |
Removes all loggers from the chain.
| void deLoggerChain::RemoveLogger | ( | deLogger * | logger ) |
Removes a logger from the chain.
1.7.2