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

Segment of parsed template. More...

Collaboration diagram for kcenon::logger::template_formatter::template_segment:
Collaboration graph

Public Member Functions

 template_segment (const std::string &c, bool p, int w=0)
 

Public Attributes

std::string content
 Text content or placeholder name.
 
bool is_placeholder
 True if this is a placeholder.
 
int width
 Optional field width (0 = no padding)
 

Detailed Description

Segment of parsed template.

Definition at line 182 of file template_formatter.h.

Constructor & Destructor Documentation

◆ template_segment()

kcenon::logger::template_formatter::template_segment::template_segment ( const std::string & c,
bool p,
int w = 0 )
inline

Member Data Documentation

◆ content

std::string kcenon::logger::template_formatter::template_segment::content

◆ is_placeholder

bool kcenon::logger::template_formatter::template_segment::is_placeholder

◆ width

int kcenon::logger::template_formatter::template_segment::width

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