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

Configuration for the file logger. More...

#include <FileLogger.hpp>

Public Attributes

std::string directory = "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.
 

Detailed Description

Configuration for the file logger.

Definition at line 32 of file FileLogger.hpp.

Member Data Documentation

◆ async

bool logit::FileLogger::Config::async = true

Flag indicating whether logging should be asynchronous.

Definition at line 34 of file FileLogger.hpp.

◆ auto_delete_days

int logit::FileLogger::Config::auto_delete_days = 30

Number of days after which old log files are deleted.

Definition at line 35 of file FileLogger.hpp.

◆ directory

std::string logit::FileLogger::Config::directory = "logs"

Directory where log files are stored.

Definition at line 33 of file FileLogger.hpp.


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