Make logsink and filter configurable

This commit is contained in:
badaix 2020-04-18 15:32:30 +02:00
parent ad8332345f
commit a2311dfbfd
7 changed files with 242 additions and 85 deletions

View file

@ -49,10 +49,10 @@ struct ClientSettings
SharingMode sharing_mode{SharingMode::shared};
};
struct LoggingSettings
struct Logging
{
bool debug{false};
std::string debug_logfile{""};
std::string sink{""};
std::string filter{"*:info"};
};
size_t instance{1};
@ -60,7 +60,7 @@ struct ClientSettings
ServerSettings server;
PlayerSettings player;
LoggingSettings logging;
Logging logging;
};
#endif