dodo
0.0.1
A C++ library to create containerized Linux services
|
File Logging parameters. More...
#include <logger.hpp>
Data Fields | |
std::string | active_log |
the filename of the active log More... | |
std::string | directory |
The directory to write the log files in. More... | |
std::ofstream | file |
the ofstream of the active log. More... | |
size_t | filesize = 0 |
current file size More... | |
size_t | max_file_trail = 4 |
The maximum number of files to keep besides the active log file. More... | |
size_t | max_size_mib = 10 |
The maximum size of a logfile. More... | |
File Logging parameters.
Definition at line 68 of file logger.hpp.
std::string dodo::common::Logger::FileParams::active_log |
the filename of the active log
Definition at line 76 of file logger.hpp.
Referenced by dodo::common::Logger::checkRotate(), and dodo::common::Logger::getFileParams().
std::string dodo::common::Logger::FileParams::directory |
The directory to write the log files in.
Definition at line 70 of file logger.hpp.
Referenced by dodo::common::Logger::checkRotate(), and dodo::common::Logger::getFileParams().
std::ofstream dodo::common::Logger::FileParams::file |
the ofstream of the active log.
Definition at line 78 of file logger.hpp.
Referenced by dodo::common::Logger::checkRotate(), dodo::common::Logger::getFileParams(), dodo::common::Logger::log(), and dodo::common::Logger::~Logger().
size_t dodo::common::Logger::FileParams::filesize = 0 |
current file size
Definition at line 80 of file logger.hpp.
Referenced by dodo::common::Logger::checkRotate(), dodo::common::Logger::getFileParams(), and dodo::common::Logger::log().
size_t dodo::common::Logger::FileParams::max_file_trail = 4 |
The maximum number of files to keep besides the active log file.
Definition at line 74 of file logger.hpp.
Referenced by dodo::common::Logger::checkRotate(), and dodo::common::Logger::getFileParams().
size_t dodo::common::Logger::FileParams::max_size_mib = 10 |
The maximum size of a logfile.
Definition at line 72 of file logger.hpp.
Referenced by dodo::common::Logger::checkRotate(), and dodo::common::Logger::getFileParams().