aboutsummaryrefslogtreecommitdiff
path: root/src/common/Logging/Log.h
diff options
context:
space:
mode:
authorGiacomo Pozzoni <giacomopoz@gmail.com>2020-07-31 20:53:13 +0000
committerGitHub <noreply@github.com>2020-07-31 22:53:13 +0200
commit7cf122fc2a604bae77d0b935536c41ec9203e62d (patch)
tree029e18afdceae5ebab686103ee9050a6c6727688 /src/common/Logging/Log.h
parent5b863acf9285d675a61819d939f38297f49d5c92 (diff)
Core/Misc: Fix static analysis issues (#25178)
Diffstat (limited to 'src/common/Logging/Log.h')
-rw-r--r--src/common/Logging/Log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Logging/Log.h b/src/common/Logging/Log.h
index 86ef98cb569..44d0db4f607 100644
--- a/src/common/Logging/Log.h
+++ b/src/common/Logging/Log.h
@@ -69,7 +69,7 @@ class TC_COMMON_API Log
void LoadFromConfig();
void Close();
bool ShouldLog(std::string const& type, LogLevel level) const;
- bool SetLogLevel(std::string const& name, char const* level, bool isLogger = true);
+ bool SetLogLevel(std::string const& name, int32 level, bool isLogger = true);
template<typename Format, typename... Args>
inline void outMessage(std::string const& filter, LogLevel const level, Format&& fmt, Args&&... args)