ContextualLogger@Deprecated public class ProtocolSessionLogger extends Object implements Logger
Logger implementation which suffix every log message with the
 session id Id| Constructor and Description | 
|---|
| ProtocolSessionLogger(String id,
                     Logger logger)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| void | debug(String arg0)Deprecated.   Log a message with debug log level. | 
| void | debug(String arg0,
     Throwable arg1)Deprecated.   Log an error with debug log level. | 
| void | error(String arg0)Deprecated.   Log a message with error log level. | 
| void | error(String arg0,
     Throwable arg1)Deprecated.   Log an error with error log level. | 
| void | info(String arg0)Deprecated.   Log a message with info log level. | 
| void | info(String arg0,
    Throwable arg1)Deprecated.   Log an error with info log level. | 
| boolean | isDebugEnabled()Deprecated.   Is debug logging currently enabled? | 
| boolean | isErrorEnabled()Deprecated.   Is error logging currently enabled? | 
| boolean | isInfoEnabled()Deprecated.   Is info logging currently enabled? | 
| boolean | isTraceEnabled()Deprecated.   Is trace logging currently enabled? | 
| boolean | isWarnEnabled()Deprecated.   Is warn logging currently enabled? | 
| void | trace(String arg0)Deprecated.   Log a message with trace log level. | 
| void | trace(String arg0,
     Throwable arg1)Deprecated.   Log an error with trace log level. | 
| void | warn(String arg0)Deprecated.   Log a message with warn log level. | 
| void | warn(String arg0,
    Throwable arg1)Deprecated.   Log an error with warn log level. | 
public void debug(String arg0)
LoggerLog a message with debug log level.
public void debug(String arg0, Throwable arg1)
LoggerLog an error with debug log level.
public void error(String arg0)
LoggerLog a message with error log level.
public void error(String arg0, Throwable arg1)
LoggerLog an error with error log level.
public void info(String arg0)
LoggerLog a message with info log level.
public void info(String arg0, Throwable arg1)
LoggerLog an error with info log level.
public boolean isDebugEnabled()
LoggerIs debug logging currently enabled?
 Call this method to prevent having to perform expensive operations
 (for example, String concatenation)
 when the log level is more than debug. 
isDebugEnabled in interface Loggerpublic boolean isErrorEnabled()
LoggerIs error logging currently enabled?
 Call this method to prevent having to perform expensive operations
 (for example, String concatenation)
 when the log level is more than error. 
isErrorEnabled in interface Loggerpublic boolean isInfoEnabled()
LoggerIs info logging currently enabled?
 Call this method to prevent having to perform expensive operations
 (for example, String concatenation)
 when the log level is more than info. 
isInfoEnabled in interface Loggerpublic boolean isTraceEnabled()
LoggerIs trace logging currently enabled?
 Call this method to prevent having to perform expensive operations
 (for example, String concatenation)
 when the log level is more than trace. 
isTraceEnabled in interface Loggerpublic boolean isWarnEnabled()
LoggerIs warn logging currently enabled?
 Call this method to prevent having to perform expensive operations
 (for example, String concatenation)
 when the log level is more than warn. 
isWarnEnabled in interface Loggerpublic void trace(String arg0)
LoggerLog a message with trace log level.
public void trace(String arg0, Throwable arg1)
LoggerLog an error with trace log level.
public void warn(String arg0)
LoggerLog a message with warn log level.
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.