diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/logger.cpp | 2 | ||||
-rw-r--r-- | src/logger.h | 2 | ||||
-rw-r--r-- | src/utils/checkutils.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/logger.cpp b/src/logger.cpp index 395daa135..97a3d7495 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -264,7 +264,7 @@ void Logger::log(const char *const log_text, ...) delete [] buf; } -void Logger::assert(const char *const log_text, ...) +void Logger::assertLog(const char *const log_text, ...) { if (settings.disableLoggingInGame) return; diff --git a/src/logger.h b/src/logger.h index 0088facc8..76b073938 100644 --- a/src/logger.h +++ b/src/logger.h @@ -120,7 +120,7 @@ class Logger final /** * Enters a message in the log. The message will be timestamped. */ - void assert(const char *const log_text, ...) A_NONNULL(2) + void assertLog(const char *const log_text, ...) A_NONNULL(2) #ifdef __GNUC__ #ifdef __OpenBSD__ diff --git a/src/utils/checkutils.cpp b/src/utils/checkutils.cpp index 20c22df46..4953314e1 100644 --- a/src/utils/checkutils.cpp +++ b/src/utils/checkutils.cpp @@ -67,7 +67,7 @@ void reportStack(const char *const file, logger->log("--- %s --------------------------------------------", name); - logger->assert("%s:%u: '%s' in function `%s'", + logger->assertLog("%s:%u: '%s' in function `%s'", file, line, text, |