diff options
author | crupest <crupest@outlook.com> | 2021-10-04 21:13:30 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-10-04 21:13:30 +0800 |
commit | 4fc39124bc876a9c78a04cb86397a4f0f08878e9 (patch) | |
tree | 27b9919b8c17710aed3031b6f1e64055dab0683f /src/common/Logger.cpp | |
parent | 8b5df96202b8eb663a9a747c1c9d249f64a933e8 (diff) | |
download | cru-4fc39124bc876a9c78a04cb86397a4f0f08878e9.tar.gz cru-4fc39124bc876a9c78a04cb86397a4f0f08878e9.tar.bz2 cru-4fc39124bc876a9c78a04cb86397a4f0f08878e9.zip |
...
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; |