aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/utils/LogUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/utils/LogUtils.cpp')
-rw-r--r--src/core/utils/LogUtils.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/core/utils/LogUtils.cpp b/src/core/utils/LogUtils.cpp
index f95ade9a..fbf0c8d3 100644
--- a/src/core/utils/LogUtils.cpp
+++ b/src/core/utils/LogUtils.cpp
@@ -40,7 +40,7 @@ auto GetCoreLogger() -> std::shared_ptr<spdlog::logger> {
return LoggerManager::GetInstance().GetLogger("core");
}
-auto GetLogger(const std::string& id) -> std::shared_ptr<spdlog::logger> {
+auto GetLogger(const QString& id) -> std::shared_ptr<spdlog::logger> {
return LoggerManager::GetInstance().GetLogger(id);
}
@@ -48,13 +48,11 @@ void SetDefaultLogLevel(spdlog::level::level_enum level) {
return LoggerManager::SetDefaultLogLevel(level);
}
-void RegisterAsyncLogger(const std::string& id,
- spdlog::level::level_enum level) {
+void RegisterAsyncLogger(const QString& id, spdlog::level::level_enum level) {
LoggerManager::GetInstance().RegisterAsyncLogger(id, level);
}
-void RegisterSyncLogger(const std::string& id,
- spdlog::level::level_enum level) {
+void RegisterSyncLogger(const QString& id, spdlog::level::level_enum level) {
LoggerManager::GetInstance().RegisterSyncLogger(id, level);
}