Package org.xwiki.component.logging
Class DefaultLogger
- java.lang.Object
-
- org.xwiki.component.logging.AbstractLogger
-
- org.xwiki.component.logging.DefaultLogger
-
- All Implemented Interfaces:
Logger
@Deprecated public class DefaultLogger extends AbstractLogger
Deprecated.already deprecated since 3.1M2, useInject
annotation to get injected a SLF4J Logger insteadBridge between XWiki Logging and SLF4J Logging.- Since:
- 3.1M2
- Version:
- $Id: 02fec278c5bd928f471e6395405e035005c42b70 $
-
-
Constructor Summary
Constructors Constructor Description DefaultLogger(Class<?> clazz)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
debug(String message)
Deprecated.void
debug(String message, Object... objects)
Deprecated.void
debug(String message, Throwable throwable)
Deprecated.void
debug(String message, Throwable throwable, Object... objects)
Deprecated.void
error(String message)
Deprecated.void
error(String message, Object... objects)
Deprecated.void
error(String message, Throwable throwable)
Deprecated.void
error(String message, Throwable throwable, Object... objects)
Deprecated.void
info(String message)
Deprecated.void
info(String message, Object... objects)
Deprecated.void
info(String message, Throwable throwable)
Deprecated.void
info(String message, Throwable throwable, Object... objects)
Deprecated.boolean
isDebugEnabled()
Deprecated.boolean
isErrorEnabled()
Deprecated.boolean
isInfoEnabled()
Deprecated.boolean
isWarnEnabled()
Deprecated.void
warn(String message)
Deprecated.void
warn(String message, Object... objects)
Deprecated.void
warn(String message, Throwable throwable)
Deprecated.void
warn(String message, Throwable throwable, Object... objects)
Deprecated.-
Methods inherited from class org.xwiki.component.logging.AbstractLogger
formatMessage
-
-
-
-
Constructor Detail
-
DefaultLogger
public DefaultLogger(Class<?> clazz)
Deprecated.- Parameters:
clazz
- the class to use when logging messages
-
-
Method Detail
-
debug
public void debug(String message)
Deprecated.
-
error
public void error(String message)
Deprecated.
-
info
public void info(String message)
Deprecated.
-
isDebugEnabled
public boolean isDebugEnabled()
Deprecated.
-
isErrorEnabled
public boolean isErrorEnabled()
Deprecated.
-
isInfoEnabled
public boolean isInfoEnabled()
Deprecated.
-
isWarnEnabled
public boolean isWarnEnabled()
Deprecated.
-
warn
public void warn(String message)
Deprecated.
-
-