This library provides a flexible logging system. Below are the main classes:
Au::Logger::LogWriterRuns a dedicated thread for log processing.
Spools and commits messages to the chosen output.
Implemented as a singleton, use
Au::Logger::LogWriter::getLogWriter().
Au::Logger::LogManagerManages log messages at a higher level.
Collects messages and forwards them to Au::Logger::LogWriter.
Your primary interface for logging in the application.
Au::Logger::LoggerFactoryCreates and configures loggers.
Offers ways to switch between different logger types such as console or file outputs.
Au::Logger::MessageRepresents a single log entry with a
Timestampand aPriority.Construct with a string payload and (optionally) a
Priority.
Au::Logger::ConsoleLoggerOutputs log messages to the console.
Default choice for quick debugging.
Au::Logger::FileLoggerWrites log messages to a file.
Requires a filename during construction.