Skip to content

Changing text colors? #2706

Answered by gabime
LedLoaf asked this question in Q&A
Apr 14, 2023 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

The color is determined automatically by spdlog according to the log level.
To change the mapping of levels to colors usevoid set_color(level::level_enum level, std::uint16_t color))

void set_color(level::level_enum level, std::uint16_t color);

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@LedLoaf
Comment options

@tt4g
Comment options

Comment options

You must be logged in to vote
1 reply
@LedLoaf
Comment options

Answer selected by LedLoaf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants