The Logger contains three main parts and some support parts.
The base class of Logger is LogNode. It contains a single log information. You are not supposed to use this part unless you wants to add other log type.
And in different part of your program, you can specify different loggers and use filters to filter it. So we also define Logger class for this use.
All logger will be put into LogSystem. The object LogSystem is a simpleton. Every logger in construction will be put into LogSystem. Filter, Layout, Appender, etc. will read LogSystem and process it. As a user, it's possible not to know this part, This Library will process it automatically.
A container class of LogNode. Because of polymorphism, it can also contains LogTree, SimpleLog, etc.
We provide some useful functions to use.
Logger(std::string LoggerName); // Add a new Logger and set its name.
void debug(std::string message); // Add a debug information in logger.
void info(std::string message); // Add a info information in logger.
void warn(std::string message); // Add a warn information in logger.
void error(std::string message); // Add a error information in logger.
void fatal(std::string message); // Add a fatal information in logger.