com.atlassian.greenhopper.global
Class LoggerWrapper
java.lang.Object
com.atlassian.greenhopper.global.LoggerWrapper
public class LoggerWrapper
- extends java.lang.Object
Convenience methods for Logger
.
- See Also:
AbstractLoggable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
with
public static LoggerWrapper with(org.slf4j.Logger logger)
with
public static LoggerWrapper with(java.lang.Class clazz)
with
public static LoggerWrapper with(java.lang.String name)
getName
public java.lang.String getName()
setLogLevel
public void setLogLevel(LoggerWrapper.LogLevel logLevel)
setInfoLogLevel
public void setInfoLogLevel()
isDebugEnabled
public boolean isDebugEnabled()
isInfoEnabled
public boolean isInfoEnabled()
exception
public void exception(java.lang.Throwable t)
exception
public void exception(java.lang.Throwable t,
LoggerWrapper.LogLevel logLevel)
error
public void error(java.lang.String message,
java.lang.Object... params)
warn
public void warn(java.lang.String message,
java.lang.Object... params)
info
public void info(java.lang.String message,
java.lang.Object... params)
debug
public void debug(java.lang.String message,
java.lang.Object... params)
trace
public void trace(java.lang.String message,
java.lang.Object... params)
createMessage
public java.lang.String createMessage(java.lang.String message,
java.lang.Object[] params)
Copyright © 2007-2013 Atlassian. All Rights Reserved.