ifw-daq  3.0.0-pre2
IFW Data Acquisition modules
logger.cpp
Go to the documentation of this file.
1 /**
2  * @file
3  * @ingroup server
4  * @copyright ESO - European Southern Observatory
5  * @author
6  *
7  * @brief Logger source file.
8  */
9 
10 #include "logger.hpp"
11 
12 namespace server {
13 
14 log4cplus::Logger& GetLogger() {
15  static log4cplus::Logger logger = log4cplus::Logger::getInstance(LOGGER_NAME);
16  return logger;
17 }
18 
19 } // namespace server
Default logger name.
const std::string LOGGER_NAME
Definition: logger.hpp:17
log4cplus::Logger & GetLogger()
Definition: logger.cpp:14