Class logger::LogOptions¶
-
class
LogOptions
¶ Public Functions
-
LogOptions
(char const *argv0)¶
-
~LogOptions
()¶
-
boost::filesystem::path
full_log_dir
() const¶
-
boost::program_options::options_description const &
get_options
() const¶
-
void
parse_command_line
(int, char const *const *)¶
-
void
set_base_path
(std::string const &base_path)¶
-
void
set_options
()¶
Public Members
-
std::unique_ptr<boost::filesystem::path>
log_dir_
¶
-
std::string
file_name_pattern_
= {".{SEVERITY}.%Y%m%d-%H%M%S.log"}¶
-
std::string
symlink_
= {".{SEVERITY}"}¶
-
Severity
severity_
= {Severity::INFO}¶
-
Severity
severity_clog_
= {Severity::ERROR}¶
-
Channels
channels_
¶
-
bool
auto_flush_
= {true}¶
-
size_t
max_files_
= {100}¶
-
size_t
min_free_space_
= {20 << 20}¶
-
bool
rotate_daily_
= {true}¶
-
size_t
rotation_size_
= {10 << 20}¶
-