update aixlog

This commit is contained in:
badaix 2017-07-27 18:27:07 +02:00
parent 72cb5a0e7e
commit fe1b227319
3 changed files with 201 additions and 158 deletions

View file

@ -145,8 +145,8 @@ int main(int argc, char* argv[])
Log::init(
{
make_shared<LogSinkCout>(debugSwitch.isSet()?(LogPriority::debug):(LogPriority::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", LogPriority::debug, LogSink::Type::special)
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)
}
);