Skip to content

Commit

Permalink
fix miss changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberhan123 committed Dec 28, 2023
1 parent 1682c46 commit bd779c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,16 +195,16 @@ std::string string_format(const std::string& format, Args... args) {
std::string log_prefix(SDLogLevel level, const char* file, int line) {
std::string format;
switch (level) {
case SDLogLevel::DEBUG:
case SDLogLevel::SD_LOG_LEVEL_DEBUG:
format = "[DEBUG] %s:%-4d - ";
break;
case SDLogLevel::INFO:
case SDLogLevel::SD_LOG_LEVEL_INFO:
format = "[INFO] %s:%-4d - ";
break;
case SDLogLevel::WARN:
case SDLogLevel::SD_LOG_LEVEL_WARN:
format = "[WARN] %s:%-4d - ";
break;
case SDLogLevel::ERROR:
case SDLogLevel::SD_LOG_LEVEL_ERROR:
format = "[ERROR] %s:%-4d - ";
break;
}
Expand Down

0 comments on commit bd779c5

Please sign in to comment.