Merge pull request #25 from r-ex/master, add newline for NET_PrintFunc on wconsole

This commit is contained in:
PixieCore 2021-08-09 18:16:18 +02:00 committed by GitHub
commit cc8ef88e03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ void Hooks::NET_PrintFunc(const char* fmt, ...)
iconsole = std::make_shared<spdlog::logger>("ostream", ostream_sink);
iconsole->set_pattern("[%S.%e] %v");
iconsole->set_level(spdlog::level::debug);
wconsole->set_pattern("[%S.%e] %v");
wconsole->set_pattern("[%S.%e] %v\n");
wconsole->set_level(spdlog::level::debug);
initialized = true;
}