org.apache.logging.slf4j

Class Log4jLogger

  • All Implemented Interfaces:
    Serializable, org.slf4j.Logger, org.slf4j.spi.LocationAwareLogger


    public class Log4jLogger
    extends Object
    implements org.slf4j.spi.LocationAwareLogger, Serializable
    SLF4J logger implementation that uses Log4j.
    See Also:
    Serialized Form
    • Field Detail

      • FQCN

        public static final String FQCN
    • Method Detail

      • trace

        public void trace(String format)
        Specified by:
        trace in interface org.slf4j.Logger
      • trace

        public void trace(String format,
                          Object o)
        Specified by:
        trace in interface org.slf4j.Logger
      • trace

        public void trace(String format,
                          Object arg1,
                          Object arg2)
        Specified by:
        trace in interface org.slf4j.Logger
      • trace

        public void trace(String format,
                          Object... args)
        Specified by:
        trace in interface org.slf4j.Logger
      • trace

        public void trace(String format,
                          Throwable t)
        Specified by:
        trace in interface org.slf4j.Logger
      • isTraceEnabled

        public boolean isTraceEnabled()
        Specified by:
        isTraceEnabled in interface org.slf4j.Logger
      • isTraceEnabled

        public boolean isTraceEnabled(org.slf4j.Marker marker)
        Specified by:
        isTraceEnabled in interface org.slf4j.Logger
      • trace

        public void trace(org.slf4j.Marker marker,
                          String s)
        Specified by:
        trace in interface org.slf4j.Logger
      • trace

        public void trace(org.slf4j.Marker marker,
                          String s,
                          Object o)
        Specified by:
        trace in interface org.slf4j.Logger
      • trace

        public void trace(org.slf4j.Marker marker,
                          String s,
                          Object o,
                          Object o1)
        Specified by:
        trace in interface org.slf4j.Logger
      • trace

        public void trace(org.slf4j.Marker marker,
                          String s,
                          Object... objects)
        Specified by:
        trace in interface org.slf4j.Logger
      • trace

        public void trace(org.slf4j.Marker marker,
                          String s,
                          Throwable throwable)
        Specified by:
        trace in interface org.slf4j.Logger
      • debug

        public void debug(String format)
        Specified by:
        debug in interface org.slf4j.Logger
      • debug

        public void debug(String format,
                          Object o)
        Specified by:
        debug in interface org.slf4j.Logger
      • debug

        public void debug(String format,
                          Object arg1,
                          Object arg2)
        Specified by:
        debug in interface org.slf4j.Logger
      • debug

        public void debug(String format,
                          Object... args)
        Specified by:
        debug in interface org.slf4j.Logger
      • debug

        public void debug(String format,
                          Throwable t)
        Specified by:
        debug in interface org.slf4j.Logger
      • isDebugEnabled

        public boolean isDebugEnabled()
        Specified by:
        isDebugEnabled in interface org.slf4j.Logger
      • isDebugEnabled

        public boolean isDebugEnabled(org.slf4j.Marker marker)
        Specified by:
        isDebugEnabled in interface org.slf4j.Logger
      • debug

        public void debug(org.slf4j.Marker marker,
                          String s)
        Specified by:
        debug in interface org.slf4j.Logger
      • debug

        public void debug(org.slf4j.Marker marker,
                          String s,
                          Object o)
        Specified by:
        debug in interface org.slf4j.Logger
      • debug

        public void debug(org.slf4j.Marker marker,
                          String s,
                          Object o,
                          Object o1)
        Specified by:
        debug in interface org.slf4j.Logger
      • debug

        public void debug(org.slf4j.Marker marker,
                          String s,
                          Object... objects)
        Specified by:
        debug in interface org.slf4j.Logger
      • debug

        public void debug(org.slf4j.Marker marker,
                          String s,
                          Throwable throwable)
        Specified by:
        debug in interface org.slf4j.Logger
      • info

        public void info(String format)
        Specified by:
        info in interface org.slf4j.Logger
      • info

        public void info(String format,
                         Object o)
        Specified by:
        info in interface org.slf4j.Logger
      • info

        public void info(String format,
                         Object arg1,
                         Object arg2)
        Specified by:
        info in interface org.slf4j.Logger
      • info

        public void info(String format,
                         Object... args)
        Specified by:
        info in interface org.slf4j.Logger
      • info

        public void info(String format,
                         Throwable t)
        Specified by:
        info in interface org.slf4j.Logger
      • isInfoEnabled

        public boolean isInfoEnabled()
        Specified by:
        isInfoEnabled in interface org.slf4j.Logger
      • isInfoEnabled

        public boolean isInfoEnabled(org.slf4j.Marker marker)
        Specified by:
        isInfoEnabled in interface org.slf4j.Logger
      • info

        public void info(org.slf4j.Marker marker,
                         String s)
        Specified by:
        info in interface org.slf4j.Logger
      • info

        public void info(org.slf4j.Marker marker,
                         String s,
                         Object o)
        Specified by:
        info in interface org.slf4j.Logger
      • info

        public void info(org.slf4j.Marker marker,
                         String s,
                         Object o,
                         Object o1)
        Specified by:
        info in interface org.slf4j.Logger
      • info

        public void info(org.slf4j.Marker marker,
                         String s,
                         Object... objects)
        Specified by:
        info in interface org.slf4j.Logger
      • info

        public void info(org.slf4j.Marker marker,
                         String s,
                         Throwable throwable)
        Specified by:
        info in interface org.slf4j.Logger
      • warn

        public void warn(String format)
        Specified by:
        warn in interface org.slf4j.Logger
      • warn

        public void warn(String format,
                         Object o)
        Specified by:
        warn in interface org.slf4j.Logger
      • warn

        public void warn(String format,
                         Object arg1,
                         Object arg2)
        Specified by:
        warn in interface org.slf4j.Logger
      • warn

        public void warn(String format,
                         Object... args)
        Specified by:
        warn in interface org.slf4j.Logger
      • warn

        public void warn(String format,
                         Throwable t)
        Specified by:
        warn in interface org.slf4j.Logger
      • isWarnEnabled

        public boolean isWarnEnabled()
        Specified by:
        isWarnEnabled in interface org.slf4j.Logger
      • isWarnEnabled

        public boolean isWarnEnabled(org.slf4j.Marker marker)
        Specified by:
        isWarnEnabled in interface org.slf4j.Logger
      • warn

        public void warn(org.slf4j.Marker marker,
                         String s)
        Specified by:
        warn in interface org.slf4j.Logger
      • warn

        public void warn(org.slf4j.Marker marker,
                         String s,
                         Object o)
        Specified by:
        warn in interface org.slf4j.Logger
      • warn

        public void warn(org.slf4j.Marker marker,
                         String s,
                         Object o,
                         Object o1)
        Specified by:
        warn in interface org.slf4j.Logger
      • warn

        public void warn(org.slf4j.Marker marker,
                         String s,
                         Object... objects)
        Specified by:
        warn in interface org.slf4j.Logger
      • warn

        public void warn(org.slf4j.Marker marker,
                         String s,
                         Throwable throwable)
        Specified by:
        warn in interface org.slf4j.Logger
      • error

        public void error(String format)
        Specified by:
        error in interface org.slf4j.Logger
      • error

        public void error(String format,
                          Object o)
        Specified by:
        error in interface org.slf4j.Logger
      • error

        public void error(String format,
                          Object arg1,
                          Object arg2)
        Specified by:
        error in interface org.slf4j.Logger
      • error

        public void error(String format,
                          Object... args)
        Specified by:
        error in interface org.slf4j.Logger
      • error

        public void error(String format,
                          Throwable t)
        Specified by:
        error in interface org.slf4j.Logger
      • isErrorEnabled

        public boolean isErrorEnabled()
        Specified by:
        isErrorEnabled in interface org.slf4j.Logger
      • isErrorEnabled

        public boolean isErrorEnabled(org.slf4j.Marker marker)
        Specified by:
        isErrorEnabled in interface org.slf4j.Logger
      • error

        public void error(org.slf4j.Marker marker,
                          String s)
        Specified by:
        error in interface org.slf4j.Logger
      • error

        public void error(org.slf4j.Marker marker,
                          String s,
                          Object o)
        Specified by:
        error in interface org.slf4j.Logger
      • error

        public void error(org.slf4j.Marker marker,
                          String s,
                          Object o,
                          Object o1)
        Specified by:
        error in interface org.slf4j.Logger
      • error

        public void error(org.slf4j.Marker marker,
                          String s,
                          Object... objects)
        Specified by:
        error in interface org.slf4j.Logger
      • error

        public void error(org.slf4j.Marker marker,
                          String s,
                          Throwable throwable)
        Specified by:
        error in interface org.slf4j.Logger
      • log

        public void log(org.slf4j.Marker marker,
                        String fqcn,
                        int level,
                        String message,
                        Object[] params,
                        Throwable throwable)
        Specified by:
        log in interface org.slf4j.spi.LocationAwareLogger
      • getName

        public String getName()
        Specified by:
        getName in interface org.slf4j.Logger

Copyright © 1999-1969 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.