You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I think this has to do with severity being wrongly applied.
After digging up the debug panels I find this
The default nestjs logger use log(message, ...)
our GCNestJS logger use log(severity, message, ...) as the signature
This leads to message being wrongly applied to severity. This could also be that I'm doing it correctly, if so can you help me out on what is the correct approach to use this as the default app logger?
Many thanks for this package (and the core package as well)
The text was updated successfully, but these errors were encountered:
Excellent package btw, that is just what I'm looking for :D
I've set up a module for logging like this
and import it into the main
AppModule
and use it as the main app logger as followsI got this error
So I think this has to do with
severity
being wrongly applied.After digging up the debug panels I find this
log(message, ...)
log(severity, message, ...)
as the signatureThis leads to
message
being wrongly applied toseverity
. This could also be that I'm doing it correctly, if so can you help me out on what is the correct approach to use this as the default app logger?Many thanks for this package (and the core package as well)
The text was updated successfully, but these errors were encountered: