Skip to content

Commit

Permalink
fixed an issue with logger
Browse files Browse the repository at this point in the history
  • Loading branch information
acidicoala committed Mar 4, 2021
1 parent 629e550 commit a4a67cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion UplayR2Unlocker/Logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

constexpr auto LOG_PATH = "UplayR2Unlocker.log";

shared_ptr<spdlog::logger> logger = spdlog::stdout_color_mt("default"); //spdlog::basic_logger_mt("default", LOG_PATH, true);
shared_ptr<spdlog::logger> logger = spdlog::null_logger_mt("null");

void Logger::init()
{
Expand Down
2 changes: 1 addition & 1 deletion UplayR2Unlocker/framework.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#define SPDLOG_WCHAR_TO_UTF8_SUPPORT
#include <spdlog/spdlog.h>
#include <spdlog/sinks/basic_file_sink.h>
#include <spdlog/sinks/stdout_color_sinks.h>
#include <spdlog/sinks/null_sink.h>

#include <nlohmann/json.hpp>

Expand Down

0 comments on commit a4a67cf

Please sign in to comment.