winss
Public Attributes | List of all members
winss::LogSettings Struct Reference

Settings for the logger. More...

#include <log_settings.hpp>

Public Attributes

unsigned int number = 10
 The number of archives to keep. More...
 
unsigned int file_size = 99999
 The max file size in bytes. More...
 
bool timestamp = false
 Prepend a ISO 8601 timestamp. More...
 
fs::path log_dir = "."
 The log directory. More...
 

Detailed Description

Settings for the logger.

Member Data Documentation

unsigned int winss::LogSettings::file_size = 99999

The max file size in bytes.

Referenced by winss::LogSettingsParser::Parse(), and winss::LogTmpl< TMutex >::Start().

fs::path winss::LogSettings::log_dir = "."
unsigned int winss::LogSettings::number = 10

The number of archives to keep.

Referenced by winss::LogTmpl< TMutex >::CleanArchives(), and winss::LogSettingsParser::Parse().

bool winss::LogSettings::timestamp = false

Prepend a ISO 8601 timestamp.

Referenced by winss::LogSettingsParser::Parse(), and winss::LogTmpl< TMutex >::Start().


The documentation for this struct was generated from the following file: