public class MailetContextLog extends Object implements org.slf4j.Logger
Logger
implementation which delegate the logging to a
MailetContext
Constructor and Description |
---|
MailetContextLog(org.apache.mailet.MailetContext context) |
MailetContextLog(org.apache.mailet.MailetContext context,
boolean isDebug) |
Modifier and Type | Method and Description |
---|---|
void |
debug(org.slf4j.Marker marker,
String msg) |
void |
debug(org.slf4j.Marker marker,
String format,
Object arg) |
void |
debug(org.slf4j.Marker marker,
String format,
Object[] argArray) |
void |
debug(org.slf4j.Marker marker,
String format,
Object arg1,
Object arg2) |
void |
debug(org.slf4j.Marker marker,
String msg,
Throwable t) |
void |
debug(String arg0)
Only log if
isDebugEnabled() is true |
void |
debug(String format,
Object arg) |
void |
debug(String format,
Object[] argArray) |
void |
debug(String format,
Object arg1,
Object arg2) |
void |
debug(String arg0,
Throwable arg1)
Only log if
isDebugEnabled() is true |
void |
error(org.slf4j.Marker marker,
String msg) |
void |
error(org.slf4j.Marker marker,
String format,
Object arg) |
void |
error(org.slf4j.Marker marker,
String format,
Object[] argArray) |
void |
error(org.slf4j.Marker marker,
String format,
Object arg1,
Object arg2) |
void |
error(org.slf4j.Marker marker,
String msg,
Throwable t) |
void |
error(String arg0) |
void |
error(String format,
Object arg) |
void |
error(String format,
Object[] argArray) |
void |
error(String format,
Object arg1,
Object arg2) |
void |
error(String arg0,
Throwable arg1) |
String |
getName() |
void |
info(org.slf4j.Marker marker,
String msg) |
void |
info(org.slf4j.Marker marker,
String format,
Object arg) |
void |
info(org.slf4j.Marker marker,
String format,
Object[] argArray) |
void |
info(org.slf4j.Marker marker,
String format,
Object arg1,
Object arg2) |
void |
info(org.slf4j.Marker marker,
String msg,
Throwable t) |
void |
info(String arg0) |
void |
info(String format,
Object arg) |
void |
info(String format,
Object[] argArray) |
void |
info(String format,
Object arg1,
Object arg2) |
void |
info(String arg0,
Throwable arg1) |
boolean |
isDebugEnabled()
Return true if debug logging is enabled
|
boolean |
isDebugEnabled(org.slf4j.Marker marker) |
boolean |
isErrorEnabled()
Enabled, return true
|
boolean |
isErrorEnabled(org.slf4j.Marker marker) |
boolean |
isFatalEnabled()
Enabled, return true
|
boolean |
isInfoEnabled()
Enabled, return true
|
boolean |
isInfoEnabled(org.slf4j.Marker marker) |
boolean |
isTraceEnabled()
Not enabled return false
|
boolean |
isTraceEnabled(org.slf4j.Marker marker)
Do nothing
|
boolean |
isWarnEnabled()
Enabled, return true
|
boolean |
isWarnEnabled(org.slf4j.Marker marker) |
void |
trace(org.slf4j.Marker marker,
String msg)
Do nothing
|
void |
trace(org.slf4j.Marker marker,
String format,
Object arg)
Do nothing
|
void |
trace(org.slf4j.Marker marker,
String format,
Object[] argArray)
Do nothing
|
void |
trace(org.slf4j.Marker marker,
String format,
Object arg1,
Object arg2)
Do nothing
|
void |
trace(org.slf4j.Marker marker,
String msg,
Throwable t)
Do nothing
|
void |
trace(Object arg0)
Do nothing
|
void |
trace(Object arg0,
Throwable arg1)
Do nothing
|
void |
trace(String msg)
Do nothing
|
void |
trace(String format,
Object arg)
Do nothing
|
void |
trace(String format,
Object[] argArray)
Do nothing
|
void |
trace(String format,
Object arg1,
Object arg2)
Do nothing
|
void |
trace(String msg,
Throwable t)
Do nothing
|
void |
warn(org.slf4j.Marker marker,
String msg) |
void |
warn(org.slf4j.Marker marker,
String format,
Object arg) |
void |
warn(org.slf4j.Marker marker,
String format,
Object[] argArray) |
void |
warn(org.slf4j.Marker marker,
String format,
Object arg1,
Object arg2) |
void |
warn(org.slf4j.Marker marker,
String msg,
Throwable t) |
void |
warn(String arg0) |
void |
warn(String format,
Object arg) |
void |
warn(String format,
Object[] argArray) |
void |
warn(String format,
Object arg1,
Object arg2) |
void |
warn(String arg0,
Throwable arg1) |
public MailetContextLog(org.apache.mailet.MailetContext context, boolean isDebug)
public MailetContextLog(org.apache.mailet.MailetContext context)
public void debug(String arg0)
isDebugEnabled()
is truedebug
in interface org.slf4j.Logger
public void debug(String arg0, Throwable arg1)
isDebugEnabled()
is truedebug
in interface org.slf4j.Logger
public void error(String arg0)
error
in interface org.slf4j.Logger
Logger.error(java.lang.String)
public void error(String arg0, Throwable arg1)
error
in interface org.slf4j.Logger
Logger.error(java.lang.String, java.lang.Throwable)
public void info(String arg0)
info
in interface org.slf4j.Logger
Logger.info(java.lang.String)
public void info(String arg0, Throwable arg1)
info
in interface org.slf4j.Logger
Logger.info(java.lang.String, java.lang.Throwable)
public boolean isDebugEnabled()
isDebugEnabled
in interface org.slf4j.Logger
public boolean isErrorEnabled()
isErrorEnabled
in interface org.slf4j.Logger
public boolean isFatalEnabled()
public boolean isInfoEnabled()
isInfoEnabled
in interface org.slf4j.Logger
public boolean isTraceEnabled()
isTraceEnabled
in interface org.slf4j.Logger
public boolean isWarnEnabled()
isWarnEnabled
in interface org.slf4j.Logger
public void trace(Object arg0)
public void warn(String arg0)
warn
in interface org.slf4j.Logger
Logger.warn(java.lang.String)
public void warn(String arg0, Throwable arg1)
warn
in interface org.slf4j.Logger
Logger.warn(java.lang.String, java.lang.Throwable)
public String getName()
getName
in interface org.slf4j.Logger
Logger.getName()
public void trace(String msg)
trace
in interface org.slf4j.Logger
public void trace(String format, Object arg)
trace
in interface org.slf4j.Logger
public void trace(String format, Object arg1, Object arg2)
trace
in interface org.slf4j.Logger
public void trace(String format, Object[] argArray)
trace
in interface org.slf4j.Logger
public void trace(String msg, Throwable t)
trace
in interface org.slf4j.Logger
public boolean isTraceEnabled(org.slf4j.Marker marker)
isTraceEnabled
in interface org.slf4j.Logger
public void trace(org.slf4j.Marker marker, String msg)
trace
in interface org.slf4j.Logger
public void trace(org.slf4j.Marker marker, String format, Object arg)
trace
in interface org.slf4j.Logger
public void trace(org.slf4j.Marker marker, String format, Object arg1, Object arg2)
trace
in interface org.slf4j.Logger
public void trace(org.slf4j.Marker marker, String format, Object[] argArray)
trace
in interface org.slf4j.Logger
public void trace(org.slf4j.Marker marker, String msg, Throwable t)
trace
in interface org.slf4j.Logger
public void debug(String format, Object arg)
debug
in interface org.slf4j.Logger
Logger.debug(java.lang.String, java.lang.Object)
public void debug(String format, Object arg1, Object arg2)
debug
in interface org.slf4j.Logger
Logger.debug(java.lang.String, java.lang.Object,
java.lang.Object)
public void debug(String format, Object[] argArray)
debug
in interface org.slf4j.Logger
Logger.debug(java.lang.String, java.lang.Object[])
public boolean isDebugEnabled(org.slf4j.Marker marker)
isDebugEnabled
in interface org.slf4j.Logger
Logger.isDebugEnabled(org.slf4j.Marker)
public void debug(org.slf4j.Marker marker, String msg)
debug
in interface org.slf4j.Logger
Logger.debug(org.slf4j.Marker, java.lang.String)
public void debug(org.slf4j.Marker marker, String format, Object arg)
debug
in interface org.slf4j.Logger
Logger.debug(org.slf4j.Marker, java.lang.String,
java.lang.Object)
public void debug(org.slf4j.Marker marker, String format, Object arg1, Object arg2)
debug
in interface org.slf4j.Logger
Logger.debug(org.slf4j.Marker, java.lang.String,
java.lang.Object, java.lang.Object)
public void debug(org.slf4j.Marker marker, String format, Object[] argArray)
debug
in interface org.slf4j.Logger
Logger.debug(org.slf4j.Marker, java.lang.String,
java.lang.Object[])
public void debug(org.slf4j.Marker marker, String msg, Throwable t)
debug
in interface org.slf4j.Logger
Logger.debug(org.slf4j.Marker, java.lang.String,
java.lang.Throwable)
public void info(String format, Object arg)
info
in interface org.slf4j.Logger
Logger.info(java.lang.String, java.lang.Object)
public void info(String format, Object arg1, Object arg2)
info
in interface org.slf4j.Logger
Logger.info(java.lang.String, java.lang.Object,
java.lang.Object)
public void info(String format, Object[] argArray)
info
in interface org.slf4j.Logger
Logger.info(java.lang.String, java.lang.Object[])
public boolean isInfoEnabled(org.slf4j.Marker marker)
isInfoEnabled
in interface org.slf4j.Logger
Logger.isInfoEnabled(org.slf4j.Marker)
public void info(org.slf4j.Marker marker, String msg)
info
in interface org.slf4j.Logger
Logger.info(org.slf4j.Marker, java.lang.String)
public void info(org.slf4j.Marker marker, String format, Object arg)
info
in interface org.slf4j.Logger
Logger.info(org.slf4j.Marker, java.lang.String,
java.lang.Object)
public void info(org.slf4j.Marker marker, String format, Object arg1, Object arg2)
info
in interface org.slf4j.Logger
Logger.info(org.slf4j.Marker, java.lang.String,
java.lang.Object, java.lang.Object)
public void info(org.slf4j.Marker marker, String format, Object[] argArray)
info
in interface org.slf4j.Logger
Logger.info(org.slf4j.Marker, java.lang.String,
java.lang.Object[])
public void info(org.slf4j.Marker marker, String msg, Throwable t)
info
in interface org.slf4j.Logger
Logger.info(org.slf4j.Marker, java.lang.String,
java.lang.Throwable)
public void warn(String format, Object arg)
warn
in interface org.slf4j.Logger
Logger.warn(java.lang.String, java.lang.Object)
public void warn(String format, Object[] argArray)
warn
in interface org.slf4j.Logger
Logger.warn(java.lang.String, java.lang.Object[])
public void warn(String format, Object arg1, Object arg2)
warn
in interface org.slf4j.Logger
Logger.warn(java.lang.String, java.lang.Object,
java.lang.Object)
public boolean isWarnEnabled(org.slf4j.Marker marker)
isWarnEnabled
in interface org.slf4j.Logger
Logger.isWarnEnabled(org.slf4j.Marker)
public void warn(org.slf4j.Marker marker, String msg)
warn
in interface org.slf4j.Logger
Logger.warn(org.slf4j.Marker, java.lang.String)
public void warn(org.slf4j.Marker marker, String format, Object arg)
warn
in interface org.slf4j.Logger
Logger.warn(org.slf4j.Marker, java.lang.String,
java.lang.Object)
public void warn(org.slf4j.Marker marker, String format, Object arg1, Object arg2)
warn
in interface org.slf4j.Logger
Logger.warn(org.slf4j.Marker, java.lang.String,
java.lang.Object, java.lang.Object)
public void warn(org.slf4j.Marker marker, String format, Object[] argArray)
warn
in interface org.slf4j.Logger
Logger.warn(org.slf4j.Marker, java.lang.String,
java.lang.Object[])
public void warn(org.slf4j.Marker marker, String msg, Throwable t)
warn
in interface org.slf4j.Logger
Logger.warn(org.slf4j.Marker, java.lang.String,
java.lang.Throwable)
public void error(String format, Object arg)
error
in interface org.slf4j.Logger
Logger.error(java.lang.String, java.lang.Object)
public void error(String format, Object arg1, Object arg2)
error
in interface org.slf4j.Logger
Logger.error(java.lang.String, java.lang.Object,
java.lang.Object)
public void error(String format, Object[] argArray)
error
in interface org.slf4j.Logger
Logger.error(java.lang.String, java.lang.Object[])
public boolean isErrorEnabled(org.slf4j.Marker marker)
isErrorEnabled
in interface org.slf4j.Logger
Logger.isErrorEnabled(org.slf4j.Marker)
public void error(org.slf4j.Marker marker, String msg)
error
in interface org.slf4j.Logger
Logger.error(org.slf4j.Marker, java.lang.String)
public void error(org.slf4j.Marker marker, String format, Object arg)
error
in interface org.slf4j.Logger
Logger.error(org.slf4j.Marker, java.lang.String,
java.lang.Object)
public void error(org.slf4j.Marker marker, String format, Object arg1, Object arg2)
error
in interface org.slf4j.Logger
Logger.error(org.slf4j.Marker, java.lang.String,
java.lang.Object, java.lang.Object)
public void error(org.slf4j.Marker marker, String format, Object[] argArray)
error
in interface org.slf4j.Logger
Logger.error(org.slf4j.Marker, java.lang.String,
java.lang.Object[])
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.