fixed order of debug & trace according to spec

This commit is contained in:
proddy
2020-06-13 15:46:49 +02:00
parent ee29a39140
commit 20ce017686
7 changed files with 8 additions and 8 deletions

View File

@@ -23,7 +23,7 @@ namespace uuid {
namespace log {
char format_level_char(Level level) {
constexpr char log_level_chars[(int)Level::ALL - (int)Level::OFF + 1] = {' ', 'P', 'A', 'C', 'E', 'W', 'N', 'I', 'T', 'D', ' '}; // changed by proddy
constexpr char log_level_chars[(int)Level::ALL - (int)Level::OFF + 1] = {' ', 'P', 'A', 'C', 'E', 'W', 'N', 'I', 'D', 'T', ' '};
return log_level_chars[(int)level + 1];
}