Change log title to reflect game's name
This commit is contained in:
@@ -164,7 +164,7 @@ static void InitializeLogger()
|
||||
std::filesystem::path log_path = std::filesystem::absolute(PLUGIN_LOG);
|
||||
if (std::filesystem::exists(log_path))
|
||||
std::filesystem::remove(log_path);
|
||||
logger = std::make_shared<spdlog::logger>("Hell Is Us", std::make_shared<spdlog::sinks::rotating_file_sink_st>(PLUGIN_LOG, 10 * 1024 * 1024, 1));
|
||||
logger = std::make_shared<spdlog::logger>("Sword Of The Sea", std::make_shared<spdlog::sinks::rotating_file_sink_st>(PLUGIN_LOG, 10 * 1024 * 1024, 1));
|
||||
logger->flush_on(spdlog::level::debug); // Flush automatically
|
||||
}
|
||||
catch (const spdlog::spdlog_ex& ex)
|
||||
|
||||
Reference in New Issue
Block a user