Open magixx opened 7 years ago
Hi @magixx, sorry for the slow response.
Yep, the broken string interpolation is indeed a bug caused by the default log message formatter which will unshift
a named Logger's name into the messages array; as you may be aware, console.log()
and friends will only perform interpolation on first value.
I'm sure this is likely an issue with the way I've set things up (latest node, bable, webpack, ) but I cannot get string interpolation to work when using
Logger.get
. ex:Will output:
So what am I not understanding here?
In addition, if I do not use
Logger.useDefaults()
, for example by replacing that line withLogger.setLevel(Logger.INFO)
, I won't see any logs at all. Any thoughts as to why this occurs?