Logger System 0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
Loading...
Searching...
No Matches
kcenon::logger::format_options Struct Reference

Configuration options for log formatting. More...

#include <log_formatter_interface.h>

Collaboration diagram for kcenon::logger::format_options:
Collaboration graph

Public Attributes

bool include_timestamp = true
 
bool include_thread_id = true
 
bool include_source_location = true
 
bool use_colors = false
 
bool include_level = true
 
bool pretty_print = false
 

Detailed Description

Configuration options for log formatting.

Controls which elements are included in the formatted output. Different formatters may interpret these options differently based on their specific output format requirements.

Since
1.2.0

Definition at line 38 of file log_formatter_interface.h.

Member Data Documentation

◆ include_level

◆ include_source_location

◆ include_thread_id

◆ include_timestamp

◆ pretty_print

bool kcenon::logger::format_options::pretty_print = false

Pretty-print output (add indentation, line breaks for readability)

Definition at line 55 of file log_formatter_interface.h.

Referenced by kcenon::logger::json_formatter::format().

◆ use_colors


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