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
There's no currently built in logger. I recommend wrapping the library w/ a small lib in your project so you can handle various things in whichever way is best suited to your project. Node doesn't really have a standard "blessed" logger & I'd rather not add any overhead to the lib by logging things. There are also potential security concerns around logging query text (and/or parameters) as they can contain sensitive information so it's something best left up to user space code to handle! You can also monkey patch the query method on the client instance if that's how you like to roll.
Is there any way to log queries, and it's parameter while using this library?
The option provided here does not work and is giving types error.
Feature request - maybe an inbuilt logger than can be enabled by simply doing logger:true while initializing the client.
The text was updated successfully, but these errors were encountered: