ReCodEx - Task Broker
ReCodEx is complex programmer testing solution, primary targeted to technical universities. It's highly customizable and based on modern technologies.
|
#include <log_config.h>
Public Member Functions | |
bool | operator== (const log_config &second) const |
bool | operator!= (const log_config &second) const |
Public Attributes | |
std::string | log_path = "/var/log/recodex/" |
std::string | log_basename = "broker" |
std::string | log_suffix = "log" |
std::string | log_level = "debug" |
int | log_file_size = 1024 * 1024 |
int | log_files_count = 3 |
Structure which stores all information needed to initialize logger.
Definition at line 10 of file log_config.h.
|
inline |
Opposite of equality operator
second | Other config for comparison. |
Definition at line 55 of file log_config.h.
|
inline |
Equality operator on log_config structures.
second | Other config for comparison. |
Definition at line 43 of file log_config.h.
std::string log_config::log_basename = "broker" |
Filemane of log file without extension.
Definition at line 19 of file log_config.h.
int log_config::log_file_size = 1024 * 1024 |
File size of one rotation of log file.
Definition at line 32 of file log_config.h.
int log_config::log_files_count = 3 |
Number of rotations which will be kept saved.
Definition at line 36 of file log_config.h.
std::string log_config::log_level = "debug" |
Level of logging. One of: trace, debug, info, notice, warn, err, critical, alert, emerg
Definition at line 28 of file log_config.h.
std::string log_config::log_path = "/var/log/recodex/" |
Determines in which directory log will be saved.
Definition at line 15 of file log_config.h.
std::string log_config::log_suffix = "log" |
Log filename extension.
Definition at line 23 of file log_config.h.