Skip to content

Commit

Permalink
Merge pull request #1715 from LaputianBird/edit_SEV_ERROR_log_channel…
Browse files Browse the repository at this point in the history
…_styling

Edit SEV_ERROR log channel styling
  • Loading branch information
mtijanic authored Dec 13, 2023
2 parents 0e77a56 + 76c919e commit 4f73e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NWNXLib/Log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ void InternalTrace(Channel::Enum channel, Channel::Enum allowedChannel, const ch
case Channel::SEV_INFO: std::cout << rang::fg::gray; break;
case Channel::SEV_NOTICE: /*default*/ break;
case Channel::SEV_WARNING: std::cout << rang::fg::yellow; break;
case Channel::SEV_ERROR: std::cout << rang::fg::red << rang::style::dim; break;
case Channel::SEV_ERROR: std::cout << rang::fg::red; break;
case Channel::SEV_FATAL: std::cout << rang::fg::red << rang::style::bold; break;
}
std::cout << message << rang::style::reset << rang::fg::reset << std::endl;
Expand Down

0 comments on commit 4f73e4b

Please sign in to comment.