Example usage for org.apache.http.contrib.logging Wire Wire

List of usage examples for org.apache.http.contrib.logging Wire Wire

Introduction

In this page you can find the example usage for org.apache.http.contrib.logging Wire Wire.

Prototype

public Wire(final Log log) 

Source Link

Usage

From source file:org.apache.http.contrib.logging.LoggingIOSession.java

public LoggingIOSession(final IOSession session, final String id) {
    super();//  w  ww . j ava  2 s .  c o m
    if (session == null) {
        throw new IllegalArgumentException("I/O session may not be null");
    }
    this.session = session;
    this.channel = new LoggingByteChannel();
    this.id = id + "-" + COUNT.incrementAndGet();
    this.log = LogFactory.getLog(session.getClass());
    this.wirelog = new Wire(LogFactory.getLog("org.apache.http.wire"));
}