org.springframework.boot.logging

Class DeferredLog

  • All Implemented Interfaces:
    org.apache.commons.logging.Log


    public class DeferredLog
    extends Object
    implements org.apache.commons.logging.Log
    Deferred Log that can be used to store messages that shouldn't be written until the logging system is fully initialized.
    Since:
    1.3.0
    Author:
    Phillip Webb
    • Constructor Detail

      • DeferredLog

        public DeferredLog()
    • Method Detail

      • isTraceEnabled

        public boolean isTraceEnabled()
        Specified by:
        isTraceEnabled in interface org.apache.commons.logging.Log
      • isDebugEnabled

        public boolean isDebugEnabled()
        Specified by:
        isDebugEnabled in interface org.apache.commons.logging.Log
      • isInfoEnabled

        public boolean isInfoEnabled()
        Specified by:
        isInfoEnabled in interface org.apache.commons.logging.Log
      • isWarnEnabled

        public boolean isWarnEnabled()
        Specified by:
        isWarnEnabled in interface org.apache.commons.logging.Log
      • isErrorEnabled

        public boolean isErrorEnabled()
        Specified by:
        isErrorEnabled in interface org.apache.commons.logging.Log
      • isFatalEnabled

        public boolean isFatalEnabled()
        Specified by:
        isFatalEnabled in interface org.apache.commons.logging.Log
      • trace

        public void trace(Object message)
        Specified by:
        trace in interface org.apache.commons.logging.Log
      • trace

        public void trace(Object message,
                          Throwable t)
        Specified by:
        trace in interface org.apache.commons.logging.Log
      • debug

        public void debug(Object message)
        Specified by:
        debug in interface org.apache.commons.logging.Log
      • debug

        public void debug(Object message,
                          Throwable t)
        Specified by:
        debug in interface org.apache.commons.logging.Log
      • info

        public void info(Object message)
        Specified by:
        info in interface org.apache.commons.logging.Log
      • info

        public void info(Object message,
                         Throwable t)
        Specified by:
        info in interface org.apache.commons.logging.Log
      • warn

        public void warn(Object message)
        Specified by:
        warn in interface org.apache.commons.logging.Log
      • warn

        public void warn(Object message,
                         Throwable t)
        Specified by:
        warn in interface org.apache.commons.logging.Log
      • error

        public void error(Object message)
        Specified by:
        error in interface org.apache.commons.logging.Log
      • error

        public void error(Object message,
                          Throwable t)
        Specified by:
        error in interface org.apache.commons.logging.Log
      • fatal

        public void fatal(Object message)
        Specified by:
        fatal in interface org.apache.commons.logging.Log
      • fatal

        public void fatal(Object message,
                          Throwable t)
        Specified by:
        fatal in interface org.apache.commons.logging.Log
      • replayTo

        public void replayTo(Class<?> destination)
      • replayTo

        public void replayTo(org.apache.commons.logging.Log destination)
      • replay

        public static org.apache.commons.logging.Log replay(org.apache.commons.logging.Log source,
                                                            Class<?> destination)
      • replay

        public static org.apache.commons.logging.Log replay(org.apache.commons.logging.Log source,
                                                            org.apache.commons.logging.Log destination)

Copyright © 2018 Pivotal Software, Inc.. All rights reserved.