Class ProxyConnectionLogger

java.lang.Object
org.littleshoot.proxy.impl.ProxyConnectionLogger

class ProxyConnectionLogger extends Object

A helper class that logs messages for ProxyConnections. All it does is make sure that the Channel and current state are always included in the log messages (if available).

Note that this depends on us using a LocationAwareLogger so that we can report the line numbers of the caller rather than this helper class. If the SLF4J binding does not provide a LocationAwareLogger, then a fallback to Logger is provided.