diff options
Diffstat (limited to 'src/common/Logger.cpp')
-rw-r--r-- | src/common/Logger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/Logger.cpp b/src/common/Logger.cpp index e77e8a85..6ba5d578 100644 --- a/src/common/Logger.cpp +++ b/src/common/Logger.cpp @@ -53,7 +53,7 @@ String GetLogTime() { } } // namespace -void Logger::Log(LogLevel level, const String &message) { +void Logger::Log(LogLevel level, StringView message) { #ifndef CRU_DEBUG if (level == LogLevel::Debug) { return; @@ -65,7 +65,7 @@ void Logger::Log(LogLevel level, const String &message) { } } -void Logger::Log(LogLevel level, const String &tag, const String &message) { +void Logger::Log(LogLevel level, StringView tag, StringView message) { #ifndef CRU_DEBUG if (level == LogLevel::Debug) { return; |