mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-01 10:21:46 +02:00
Make logsink and filter configurable
This commit is contained in:
parent
ad8332345f
commit
a2311dfbfd
7 changed files with 242 additions and 85 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue