Skip to content
Snippets Groups Projects
Commit c3b322c5 authored by Olivier BICHLER's avatar Olivier BICHLER
Browse files

Changed Notice color to work for both dark and white backgrounds

parent b1e47096
No related branches found
No related tags found
2 merge requests!1190.2.1,!113Draft: Fix slice
Pipeline #43907 passed
...@@ -56,7 +56,7 @@ void Aidge::Log::log(Level level, const std::string& msg) { ...@@ -56,7 +56,7 @@ void Aidge::Log::log(Level level, const std::string& msg) {
// the log file. // the log file.
const auto modifier const auto modifier
= (level == Debug) ? fmt::fg(fmt::color::gray) = (level == Debug) ? fmt::fg(fmt::color::gray)
: (level == Notice) ? fmt::fg(fmt::color::light_yellow) : (level == Notice) ? fmt::fg(fmt::color::medium_purple)
: (level == Warn) ? fmt::fg(fmt::color::orange) : (level == Warn) ? fmt::fg(fmt::color::orange)
: (level == Error) ? fmt::fg(fmt::color::red) : (level == Error) ? fmt::fg(fmt::color::red)
: (level == Fatal) ? fmt::bg(fmt::color::red) : (level == Fatal) ? fmt::bg(fmt::color::red)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment