From e4ccb9c3e8baae8632d52ec7158f64eabc2b4d76 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Tue, 10 Nov 2015 21:48:29 +0100 Subject: Add logging --- src/CRSMConfig.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/CRSMConfig.hpp') diff --git a/src/CRSMConfig.hpp b/src/CRSMConfig.hpp index 921e56e..3b43b6c 100644 --- a/src/CRSMConfig.hpp +++ b/src/CRSMConfig.hpp @@ -15,6 +15,12 @@ public: List(String) CommandSuffixes; } CRSM; + struct { + String Folder = "CrServerManager.logs"; + String MainLog = "CRSM.log"; + String TimestampFormat = "dd.MM.yyyy [hh:mm:ss] "; + } Logging; + struct { struct { String Arguments = "/fullscreen /lobby:300 /nosignup Objects.c4d"; @@ -101,6 +107,12 @@ public: + ConfigVal(Logging.Folder), + ConfigVal(Logging.MainLog), + ConfigVal(Logging.TimestampFormat), + + + ConfigVal(Clonk.Server.Arguments), ConfigVal(Clonk.Server.Config), ConfigVal(Clonk.Server.Executable), -- cgit v1.2.3-54-g00ecf