Simpact Cyan
Population based event driven simulation using mNRM
logsystem.h
1 #ifndef LOGSYSTEM_H
2 
3 #define LOGSYSTEM_H
4 
5 #include "logfile.h"
6 
7 class ConfigSettings;
8 class ConfigWriter;
9 
10 class LogSystem
11 {
12 public:
13  static void processConfig(ConfigSettings &config);
14  static void obtainConfig(ConfigWriter &config);
15  static LogFile logEvents, logPersons, logRelations;
16 };
17 
18 #define LogEvent LogSystem::logEvents
19 #define LogPerson LogSystem::logPersons
20 #define LogRelation LogSystem::logRelations
21 
22 #endif // LOGSYSTEM_H
Helper class to read configuration settings, more advanced than ConfigReader.
Definition: configsettings.h:20
Helper class to write to a log file.
Definition: logfile.h:13