I find the current Logging API a bit unsual in the sense that I need to add a specific Logger to get the context when logging. What if I want most of the time using INFO and on some line DEBUG.
Normally in other logging library it is something like Log::DEBUG or Log::INFO.
I see that there alreays is Log::Using, but it doesn't get any context with that. May be it should use the default namespace ?
Hello,
I find the current Logging API a bit unsual in the sense that I need to add a specific Logger to get the context when logging. What if I want most of the time using
INFO
and on some lineDEBUG
. Normally in other logging library it is something likeLog::DEBUG
orLog::INFO
.I see that there alreays is
Log::Using
, but it doesn't get any context with that. May be it should use the default namespace ?