start work on new logger

This commit is contained in:
Lion Kortlepel
2022-04-05 22:27:45 +02:00
parent 1bab3276e9
commit d8c33c03ee
3 changed files with 30 additions and 4 deletions

View File

@@ -119,10 +119,8 @@ int BeamMPServerMain(MainArguments Arguments) {
}
Application::SetSubsystemStatus("Main", Application::Status::Starting);
bool Success = Application::Console().Internal().enable_write_to_file("Server.log");
if (!Success) {
beammp_error("unable to open file for writing: \"Server.log\"");
}
Application::Console().StartLoggingToFile();
SetupSignalHandlers();