Class DefaultLogger

  • All Implemented Interfaces:
    Logger

    @Deprecated
    public class DefaultLogger
    extends AbstractLogger
    Deprecated.
    already deprecated since 3.1M2, use Inject annotation to get injected a SLF4J Logger instead
    Bridge between XWiki Logging and SLF4J Logging.
    Since:
    3.1M2
    Version:
    $Id: 02fec278c5bd928f471e6395405e035005c42b70 $
    • 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,
                          Object... objects)
        Deprecated.
      • debug

        public void debug​(String message,
                          Throwable throwable)
        Deprecated.
      • debug

        public void debug​(String message)
        Deprecated.
      • error

        public void error​(String message,
                          Object... objects)
        Deprecated.
      • error

        public void error​(String message,
                          Throwable throwable)
        Deprecated.
      • error

        public void error​(String message)
        Deprecated.
      • info

        public void info​(String message,
                         Object... objects)
        Deprecated.
      • info

        public void info​(String message,
                         Throwable throwable)
        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,
                         Object... objects)
        Deprecated.
      • warn

        public void warn​(String message,
                         Throwable throwable)
        Deprecated.
      • warn

        public void warn​(String message)
        Deprecated.