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

Configuration for the log formatter. More...

#include <SimpleLogFormatter.hpp>

Public Attributes

std::string pattern = "[%Y-%m-%d %H:%M:%S.%e] [%ffn:%#] [%!] [thread:%t] [%l] %^%v%$"
 Default log format string.
 
bool json_format = false
 Flag to enable JSON formatting.
 

Detailed Description

Configuration for the log formatter.

Definition at line 21 of file SimpleLogFormatter.hpp.

Member Data Documentation

◆ json_format

bool logit::SimpleLogFormatter::Config::json_format = false

Flag to enable JSON formatting.

Definition at line 23 of file SimpleLogFormatter.hpp.

◆ pattern

std::string logit::SimpleLogFormatter::Config::pattern = "[%Y-%m-%d %H:%M:%S.%e] [%ffn:%#] [%!] [thread:%t] [%l] %^%v%$"

Default log format string.

Definition at line 22 of file SimpleLogFormatter.hpp.


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