diff --git a/client/src/Logger.cpp b/client/src/Logger.cpp index 011162c..b0bbef0 100644 --- a/client/src/Logger.cpp +++ b/client/src/Logger.cpp @@ -10,7 +10,7 @@ #include -void Logger::log(v_int32 priority, const std::string& tag, const std::string& message) { +void Logger::log(v_uint32 priority, const std::string& tag, const std::string& message) { std::lock_guard lock(m_lock); std::cout << tag << ":" << message << "\n"; } \ No newline at end of file diff --git a/client/src/Logger.hpp b/client/src/Logger.hpp index 7d06d08..d75b28e 100644 --- a/client/src/Logger.hpp +++ b/client/src/Logger.hpp @@ -22,7 +22,7 @@ class Logger : public oatpp::base::Logger { oatpp::concurrency::SpinLock m_lock; public: - void log(v_int32 priority, const std::string& tag, const std::string& message) override; + void log(v_uint32 priority, const std::string& tag, const std::string& message) override; }; diff --git a/server/src/Logger.cpp b/server/src/Logger.cpp index 011162c..b0bbef0 100644 --- a/server/src/Logger.cpp +++ b/server/src/Logger.cpp @@ -10,7 +10,7 @@ #include -void Logger::log(v_int32 priority, const std::string& tag, const std::string& message) { +void Logger::log(v_uint32 priority, const std::string& tag, const std::string& message) { std::lock_guard lock(m_lock); std::cout << tag << ":" << message << "\n"; } \ No newline at end of file diff --git a/server/src/Logger.hpp b/server/src/Logger.hpp index 7d06d08..d75b28e 100644 --- a/server/src/Logger.hpp +++ b/server/src/Logger.hpp @@ -22,7 +22,7 @@ class Logger : public oatpp::base::Logger { oatpp::concurrency::SpinLock m_lock; public: - void log(v_int32 priority, const std::string& tag, const std::string& message) override; + void log(v_uint32 priority, const std::string& tag, const std::string& message) override; };