okhttp icon indicating copy to clipboard operation
okhttp copied to clipboard

make LoggingEventListener extensible

Open dbyron-sf opened this issue 8 months ago • 0 comments

Would you consider making LoggingEventListener extensible? I think this means making it an open class and making logWithTime protected.

My goal is to tweak the log levels a bit, so things like connectFailed/responseFailed log at warn, but the others log at some level that's determined by a config flag in my app -- either debug, or info when more verbose logging is enabled.

As things are now, it looks like I need to re-implement LoggingEventListener, even though it's so close to what I'm looking for.

dbyron-sf avatar Jun 02 '25 17:06 dbyron-sf