logpp icon indicating copy to clipboard operation
logpp copied to clipboard

log only works if required from main file

Open jccguimaraes opened this issue 5 years ago • 0 comments

i am trying to build a wrapper around this module so I don't need to setup common options every time i need it in a new service.

But looking at the code, the log only works if required from main entry file. if not, all functions are NOP. this is a limitation in my point of view.

Can you help me out, if i am missing something to make it work when requiring it from another files other than the main one? messing with the setLoggingLevel and alike, does not seem to make effect.

Really appreciate your help

jccguimaraes avatar May 17 '19 08:05 jccguimaraes