ifw-daq  2.1.0-pre1
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
server
Definition: actionMgr.cpp:21
server::GetLogger
log4cplus::Logger & GetLogger()
Definition: logger.cpp:14
logger.hpp
Default logger name.
server::LOGGER_NAME
const std::string LOGGER_NAME
Definition: logger.hpp:17