ComPWA
Common Partial-Wave-Analysis Framework
Logging.hpp
Go to the documentation of this file.
1 // Copyright (c) 2015, 2017 The ComPWA Team.
2 // This file is part of the ComPWA framework, check
3 // https://github.com/ComPWA/ComPWA/license.txt for details.
4 
5 #ifndef LOGGING_HPP_
6 #define LOGGING_HPP_
7 
8 #include "ThirdParty/easyloggingpp/easylogging++.h"
9 
10 namespace ComPWA {
11 
18 
19 class Logging {
20 public:
21  Logging(std::string level = "INFO", std::string filename = "");
22 
23  void setLogLevel(std::string level);
24 
25  std::string getLogLevel() { return Level; };
26 
27 private:
28  std::string Level;
29 };
30 
31 } // namespace ComPWA
32 
33 #endif
std::string getLogLevel()
Definition: Logging.hpp:25
std::string Level
Definition: Logging.hpp:25
void setLogLevel(std::string level)
Definition: Logging.cpp:59
Logging class provides an interface for logging all over the framework.
Definition: Logging.hpp:19
Logging(std::string level="INFO", std::string filename="")
Definition: Logging.cpp:15