mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-30 00:20:06 +00:00
Change linux logger from stdout to stderr
This commit is contained in:
parent
26f8f4edb7
commit
c567e714ec
@ -72,7 +72,7 @@ SpdLogBackend::SpdLogBackend() {
|
|||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
auto color_sink = std::make_shared<spdlog::sinks::wincolor_stderr_sink_mt>();
|
auto color_sink = std::make_shared<spdlog::sinks::wincolor_stderr_sink_mt>();
|
||||||
#else
|
#else
|
||||||
auto color_sink = std::make_shared<spdlog::sinks::ansicolor_stdout_sink_mt>();
|
auto color_sink = std::make_shared<spdlog::sinks::ansicolor_stderr_sink_mt>();
|
||||||
#endif
|
#endif
|
||||||
std::vector<spdlog::sink_ptr> sinks;
|
std::vector<spdlog::sink_ptr> sinks;
|
||||||
sinks.push_back(std::move(file_sink));
|
sinks.push_back(std::move(file_sink));
|
||||||
|
Loading…
Reference in New Issue
Block a user