| Constructor and Description |
|---|
ProtocolLoggerAdapter(org.slf4j.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
void |
debug(String message)
Log a message with debug log level.
|
void |
debug(String message,
Throwable t)
Log an error with debug log level.
|
void |
error(String message)
Log a message with error log level.
|
void |
error(String message,
Throwable t)
Log an error with error log level.
|
void |
info(String message)
Log a message with info log level.
|
void |
info(String message,
Throwable t)
Log an error with info log level.
|
boolean |
isDebugEnabled()
Is debug logging currently enabled?
|
boolean |
isErrorEnabled()
Is error logging currently enabled?
|
boolean |
isInfoEnabled()
Is info logging currently enabled?
|
boolean |
isTraceEnabled()
Is trace logging currently enabled?
|
boolean |
isWarnEnabled()
Is warn logging currently enabled?
|
void |
trace(String message)
Log a message with trace log level.
|
void |
trace(String message,
Throwable t)
Log an error with trace log level.
|
void |
warn(String message)
Log a message with warn log level.
|
void |
warn(String message,
Throwable t)
Log an error with warn 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 message)
LoggerLog a message with trace log level.
public void trace(String message, Throwable t)
LoggerLog an error with trace log level.
public void debug(String message)
LoggerLog a message with debug log level.
public void debug(String message, Throwable t)
LoggerLog an error with debug log level.
public void info(String message)
LoggerLog a message with info log level.
public void info(String message, Throwable t)
LoggerLog an error with info log level.
public void warn(String message)
LoggerLog a message with warn log level.
public void warn(String message, Throwable t)
LoggerLog an error with warn log level.
public void error(String message)
LoggerLog a message with error log level.
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.