mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-20 12:36:17 +02:00
update aixlog
This commit is contained in:
parent
c3d1ded653
commit
0c3a881df0
5 changed files with 330 additions and 218 deletions
|
@ -143,10 +143,10 @@ int main(int argc, char* argv[])
|
|||
return 1;
|
||||
}
|
||||
|
||||
Log::init(
|
||||
AixLog::Log::init(
|
||||
{
|
||||
make_shared<LogSinkCout>(debugSwitch.isSet()?(LogSeverity::trace):(LogSeverity::info), LogSink::Type::all, debugSwitch.isSet()?"%Y-%m-%d %H-%M-%S.#ms [#prio] (#tag)":"%Y-%m-%d %H-%M-%S [#prio]"),
|
||||
make_shared<LogSinkNative>("snapserver", LogSeverity::trace, LogSink::Type::special)
|
||||
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::SinkNative>("snapserver", AixLog::Severity::trace, AixLog::Type::special)
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue