sqldb-logger icon indicating copy to clipboard operation
sqldb-logger copied to clipboard

Configure transaction log level

Open kevinmichaelchen opened this issue 5 years ago • 1 comments

Great work on this library! It's really useful for debugging 👍🏼

I'm wondering if these log levels can be made configurable instead of being hard-coded to Debug level.

kevinmichaelchen avatar Jan 14 '21 16:01 kevinmichaelchen

@kevinmichaelchen Thanks, that is intentionally hard-coded at the moment.

There are lots of method that is still use hard-coded log-level, especially Debug and Trace. But if "upstream call" in those method return error, it will change the level to Error.

I think I don't need to make all of them configurable.

simukti avatar Feb 07 '21 18:02 simukti