Home -> LogManager -> GetLogger
Description
The GetLogger method creates a new scoped logger that sends accepted messages back to this log manager.
Warning
The returned logger stores a reference to this manager. Do not destroy the manager while any logger created from it is still in use.
Usage
ILogger::unique_ptr GetLogger(const std::string& scopeName);
Argument list
- scopeName [const std::string&]
- The scope string assigned to the new logger.