make GetColoredSeverityString public

This commit is contained in:
Alexey Rybalchenko
2020-07-09 10:38:46 +02:00
parent bcf0c8726a
commit 777da1090f
2 changed files with 20 additions and 19 deletions

View File

@@ -239,6 +239,7 @@ class Logger
static std::string startColor(Color color) { return fmt::format("\033[01;{}m", static_cast<int>(color)); }
static std::string endColor() { return "\033[0m"; }
static std::string ColorOut(Color c, const std::string& s) { return fmt::format("\033[01;{}m{}\033[0m", static_cast<int>(c), s); }
static std::string GetColoredSeverityString(Severity severity);
static void SetConsoleSeverity(const Severity severity);
static void SetConsoleSeverity(const std::string& severityStr);