mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-10 23:56:43 +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
|
@ -51,16 +51,16 @@ struct ServerSettings
|
|||
std::vector<std::string> bind_to_address{{"0.0.0.0"}};
|
||||
};
|
||||
|
||||
struct LoggingSettings
|
||||
struct Logging
|
||||
{
|
||||
bool debug{false};
|
||||
std::string debug_logfile{""};
|
||||
std::string sink{""};
|
||||
std::string filter{"*:info"};
|
||||
};
|
||||
|
||||
HttpSettings http;
|
||||
TcpSettings tcp;
|
||||
StreamSettings stream;
|
||||
LoggingSettings logging;
|
||||
Logging logging;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue