Removed underscore from log prefix

This commit is contained in:
WolverinDEV 2019-11-23 22:07:03 +01:00
parent 0f424cbed7
commit 165782f396

View File

@ -29,7 +29,7 @@ bool logger::setup(std::string& error) {
std::vector<spdlog::sink_ptr> sinks{};
sinks.reserve(2);
{
auto file_sink = std::make_shared<spdlog::sinks::daily_file_sink_st>(log_folder + "log_", 0, 0);
auto file_sink = std::make_shared<spdlog::sinks::daily_file_sink_st>(log_folder + "log", 0, 0);
file_sink->set_level(spdlog::level::trace);
sinks.push_back(file_sink);