HF-Core Platform 0.1.0-dev
Hardware-Agnostic Handler Layer & RTOS Utilities for HardFOC
Loading...
Searching...
No Matches
LogConfig Struct Reference

Logging configuration. More...

#include <Logger.h>

Public Attributes

LogLevel level = LogLevel::INFO
 Default log level.
 
LogColor color = LogColor::DEFAULT
 Default text color.
 
LogBackground background = LogBackground::DEFAULT
 Default background.
 
LogStyle style = LogStyle::NORMAL
 Default text style.
 
bool enable_colors = true
 Enable ANSI colors.
 
bool enable_effects = true
 Enable special effects.
 
uint32_t max_width = 80
 Maximum output width.
 
bool center_text = false
 Center the text.
 
bool add_border = false
 Add border around text.
 
char border_char = '*'
 Border character.
 
uint32_t border_padding = 2
 Border padding.
 
bool enable_ascii_art = true
 Enable ASCII art support.
 
bool format_ascii_art = true
 Apply formatting to ASCII art.
 

Detailed Description

Logging configuration.

Member Data Documentation

◆ add_border

bool LogConfig::add_border = false

Add border around text.

◆ background

LogBackground LogConfig::background = LogBackground::DEFAULT

Default background.

◆ border_char

char LogConfig::border_char = '*'

Border character.

◆ border_padding

uint32_t LogConfig::border_padding = 2

Border padding.

◆ center_text

bool LogConfig::center_text = false

Center the text.

◆ color

LogColor LogConfig::color = LogColor::DEFAULT

Default text color.

◆ enable_ascii_art

bool LogConfig::enable_ascii_art = true

Enable ASCII art support.

◆ enable_colors

bool LogConfig::enable_colors = true

Enable ANSI colors.

◆ enable_effects

bool LogConfig::enable_effects = true

Enable special effects.

◆ format_ascii_art

bool LogConfig::format_ascii_art = true

Apply formatting to ASCII art.

◆ level

LogLevel LogConfig::level = LogLevel::INFO

Default log level.

◆ max_width

uint32_t LogConfig::max_width = 80

Maximum output width.

◆ style

LogStyle LogConfig::style = LogStyle::NORMAL

Default text style.


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