mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-22 05:26:17 +02:00
better async exception handling
This commit is contained in:
parent
0ea51d95f3
commit
4670927d67
5 changed files with 30 additions and 18 deletions
|
@ -157,7 +157,7 @@ int main (int argc, char **argv)
|
|||
|
||||
AixLog::Log::init(
|
||||
{
|
||||
make_shared<AixLog::SinkCout>(debugSwitch.isSet()?(AixLog::Severity::trace):(AixLog::Severity::info), AixLog::Type::all, debugSwitch.isSet()?"%Y-%m-%d %H-%M-%S.#ms [#severity] (#tag)":"%Y-%m-%d %H-%M-%S [#severity]"),
|
||||
make_shared<AixLog::SinkCout>(debugSwitch.isSet()?(AixLog::Severity::trace):(AixLog::Severity::info), AixLog::Type::all, debugSwitch.isSet()?"%Y-%m-%d %H-%M-%S.#ms [#severity] (#function)":"%Y-%m-%d %H-%M-%S [#severity]"),
|
||||
make_shared<AixLog::SinkNative>("snapclient", AixLog::Severity::trace, AixLog::Type::special)
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue