Logger Workflow - 5.2 English - 68552

AOCL API Guide (68552)

Document ID
68552
Release Date
2025-12-29
Version
5.2 English

A main logging thread is started by Au::Logger::LogWriter, which is responsible for collecting messages and writing them. Users typically interact with Au::Logger::LogManager, which forwards these logs to the global Au::Logger::LogWriter instance for final handling.

You can also decide where the logs should go by calling Au::Logger::LogWriter::setLogger(). Use Au::Logger::LoggerFactory to create custom outputs, like file-based or console-based loggers.

Finally, keep in mind that Au::Logger::LogWriter is a singleton. Call Au::Logger::LogWriter::getLogWriter() whenever you need to access its functionality.