Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log only works if required from main file #6

Open
jccguimaraes opened this issue May 17, 2019 · 0 comments
Open

log only works if required from main file #6

jccguimaraes opened this issue May 17, 2019 · 0 comments

Comments

@jccguimaraes
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant