Logger factory.
More...
#include <loggerFactory.hpp>
|
class | anch::Singleton< LoggerFactory > |
|
Logger factory.
This class aims to manage logger according to the loggers name and configuration.
- Since
- 0.1
- Author
- Vincent Lachenal
◆ getLogger()
static const anch::logger::Logger & anch::logger::LoggerFactory::getLogger |
( |
const std::string & | loggerName | ) |
|
|
static |
Retrieve a registered logger from a logger name or create a new one and register it.
- Parameters
-
loggerName | The logger name to retrieve |
- Returns
- The loggerr instance
◆ CONF_FILE
std::string anch::logger::LoggerFactory::CONF_FILE |
|
static |
Configuration file path. Default: anch-logger.conf
The documentation for this class was generated from the following file: