ContextualLogger
@Deprecated public class ProtocolSessionLogger extends Object implements Logger
Logger
implementation which suffix every log message with the
session id IdConstructor 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)
Logger
Log a message with debug log level.
public void debug(String arg0, Throwable arg1)
Logger
Log an error with debug log level.
public void error(String arg0)
Logger
Log a message with error log level.
public void error(String arg0, Throwable arg1)
Logger
Log an error with error log level.
public void info(String arg0)
Logger
Log a message with info log level.
public void info(String arg0, Throwable arg1)
Logger
Log an error with info log level.
public boolean isDebugEnabled()
Logger
Is 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 Logger
public boolean isErrorEnabled()
Logger
Is 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 Logger
public boolean isInfoEnabled()
Logger
Is 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 Logger
public boolean isTraceEnabled()
Logger
Is 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 Logger
public boolean isWarnEnabled()
Logger
Is 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 Logger
public void trace(String arg0)
Logger
Log a message with trace log level.
public void trace(String arg0, Throwable arg1)
Logger
Log an error with trace log level.
public void warn(String arg0)
Logger
Log a message with warn log level.
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.