Phoxonics  1.0
Object Oriented FDTD Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
LoggerConfig.hpp
Go to the documentation of this file.
1 /*
2  * LoggerConfig.hpp
3  *
4  * Created on: Oct 14, 2014
5  * Author: nano
6  */
7 
8 #ifndef LOGGERCONFIG_HPP_
9 #define LOGGERCONFIG_HPP_
10 
11 #include "../../../common/common.hpp"
12 
13 #include <string>
14 #include <iostream>
15 
16 namespace phoxonics {
17 namespace core {
18 
19 class LoggerConfig {
20 public:
21  explicit LoggerConfig();
22  explicit LoggerConfig(std::string log_file_path, bool log_to_console,
23  std::string show_log_level);
24  virtual ~LoggerConfig();
25 
26  // log class
28 
29  // print object in console
30  void print_me();
31 
32  std::string log_file_name { "" };
33  bool log_to_console { true };
34  std::string show_log_level { "" };
35 };
36 
37 } /* namespace core */
38 } /* namespace phoxonics */
39 
40 #endif /* LOGGERCONFIG_HPP_ */
Definition: CommonBase.hpp:14
LoggerConfig()
Definition: LoggerConfig.cpp:13
std::string show_log_level
Definition: LoggerConfig.hpp:34
bool log_to_console
Definition: LoggerConfig.hpp:33
void print_me()
Definition: LoggerConfig.cpp:29
virtual ~LoggerConfig()
Definition: LoggerConfig.cpp:25
phoxonics::common::Logger log
Definition: LoggerConfig.hpp:27
Definition: Logger.hpp:23
std::string log_file_name
Definition: LoggerConfig.hpp:32
Definition: LoggerConfig.hpp:19