Optimize ansicolor_sink to use array instead of map to find color codes

This commit is contained in:
gabime
2020-02-15 12:06:01 +02:00
parent 5c06306ccc
commit 695912c7cf
2 changed files with 3 additions and 2 deletions

View File

@@ -147,6 +147,7 @@ enum level_enum
err = SPDLOG_LEVEL_ERROR,
critical = SPDLOG_LEVEL_CRITICAL,
off = SPDLOG_LEVEL_OFF,
n_levels
};
#if !defined(SPDLOG_LEVEL_NAMES)