-
Notifications
You must be signed in to change notification settings - Fork 3
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
Pass custom logger #14
Comments
Sure, why not? You can just set |
sorry may be my question phrase is not right I need pg-monitor to print log on my logger when i make a file out of my logger i can see those as well currently pg-monitor logs are independent of my bunyan logger wrapper |
Ok, I see now...
Instead, you should handle |
Alternatively, you can set up a dual system, if you want, as pg-monitor intelligently adds event handlers, it doesn't override them, unless you ask it to. |
ok I will reuse the code in pg-monitor and override print function thanks for your help |
More or less, though the whole |
can i pass cutom logger we have customized bunyan logger and using it in all the application need to pass that logger to pg-monitor to log.info all the queries passed to pg promise
The text was updated successfully, but these errors were encountered: