LogIt++
Loading...
Searching...
No Matches
logit::UniqueFileLogger::Config Struct Reference

Configuration for the unique file logger. More...

#include <UniqueFileLogger.hpp>

Public Attributes

std::string directory = "unique_logs"
 Directory where log files are stored.
 
bool async = true
 Flag indicating whether logging should be asynchronous.
 
int auto_delete_days = 30
 Number of days after which old log files are deleted.
 
size_t hash_length = 8
 Length of the hash used in filenames.
 

Detailed Description

Configuration for the unique file logger.

Definition at line 37 of file UniqueFileLogger.hpp.

Member Data Documentation

◆ async

bool logit::UniqueFileLogger::Config::async = true

Flag indicating whether logging should be asynchronous.

Definition at line 39 of file UniqueFileLogger.hpp.

◆ auto_delete_days

int logit::UniqueFileLogger::Config::auto_delete_days = 30

Number of days after which old log files are deleted.

Definition at line 40 of file UniqueFileLogger.hpp.

◆ directory

std::string logit::UniqueFileLogger::Config::directory = "unique_logs"

Directory where log files are stored.

Definition at line 38 of file UniqueFileLogger.hpp.

◆ hash_length

size_t logit::UniqueFileLogger::Config::hash_length = 8

Length of the hash used in filenames.

Definition at line 41 of file UniqueFileLogger.hpp.


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