Class LogTree

    • Constructor Detail

      • LogTree

        public LogTree()
        Default constructor.
    • Method Detail

      • log

        public void log​(org.slf4j.Logger targetLogger)
        Description copied from class: LogEvent
        Copy the stored log into a passed Logger.
        Overrides:
        log in class LogEvent
        Parameters:
        targetLogger - the logger where to copy the stored log
      • log

        protected LogEvent log​(LogLevel level,
                               String format,
                               Object[] arguments)
        Parameters:
        level - the log level
        format - the log message
        arguments - the event arguments to insert in the message
        Returns:
        the created LogEvent instance
      • log

        protected LogEvent log​(org.slf4j.Marker marker,
                               LogLevel level,
                               String format,
                               Object[] arguments)
        Parameters:
        marker - the log marker
        level - the log level
        format - the log message
        arguments - the event arguments to insert in the message
        Returns:
        the created LogEvent instance
      • log

        protected LogEvent log​(LogLevel level,
                               String format,
                               Object[] arguments,
                               Throwable throwable)
        Parameters:
        level - the log level
        format - the log message
        arguments - the event arguments to insert in the message
        throwable - the throwable associated to the event
        Returns:
        the created LogEvent instance
      • log

        protected LogEvent log​(org.slf4j.Marker marker,
                               LogLevel level,
                               String format,
                               Object[] arguments,
                               Throwable throwable)
        Parameters:
        marker - the log marker
        level - the log level
        format - the log message
        arguments - the event arguments to insert in the message
        throwable - the throwable associated to the event
        Returns:
        the created LogEvent instance
      • log

        public void log​(LogEvent logEvent)
        Specified by:
        log in interface Logger
        Parameters:
        logEvent - the log event
      • pop

        public void pop()
        Make log tree caret go the parent next sibling.
      • getName

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

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

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

        public void trace​(String format,
                          Object arg)
        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... arguments)
        Specified by:
        trace in interface org.slf4j.Logger
      • trace

        public void trace​(String msg,
                          Throwable t)
        Specified by:
        trace 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 msg)
        Specified by:
        trace in interface org.slf4j.Logger
      • trace

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

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

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

        public void trace​(org.slf4j.Marker marker,
                          String msg,
                          Throwable t)
        Specified by:
        trace in interface org.slf4j.Logger
      • isDebugEnabled

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

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

        public void debug​(String format,
                          Object arg)
        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... arguments)
        Specified by:
        debug in interface org.slf4j.Logger
      • debug

        public void debug​(String msg,
                          Throwable t)
        Specified by:
        debug 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 msg)
        Specified by:
        debug in interface org.slf4j.Logger
      • debug

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

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

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

        public void debug​(org.slf4j.Marker marker,
                          String msg,
                          Throwable t)
        Specified by:
        debug in interface org.slf4j.Logger
      • isInfoEnabled

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

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

        public void info​(String format,
                         Object arg)
        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... arguments)
        Specified by:
        info in interface org.slf4j.Logger
      • info

        public void info​(String msg,
                         Throwable t)
        Specified by:
        info 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 msg)
        Specified by:
        info in interface org.slf4j.Logger
      • info

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

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

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

        public void info​(org.slf4j.Marker marker,
                         String msg,
                         Throwable t)
        Specified by:
        info in interface org.slf4j.Logger
      • isWarnEnabled

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

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

        public void warn​(String format,
                         Object arg)
        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... arguments)
        Specified by:
        warn in interface org.slf4j.Logger
      • warn

        public void warn​(String msg,
                         Throwable t)
        Specified by:
        warn 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 msg)
        Specified by:
        warn in interface org.slf4j.Logger
      • warn

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

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

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

        public void warn​(org.slf4j.Marker marker,
                         String msg,
                         Throwable t)
        Specified by:
        warn in interface org.slf4j.Logger
      • isErrorEnabled

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

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

        public void error​(String format,
                          Object arg)
        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... arguments)
        Specified by:
        error in interface org.slf4j.Logger
      • error

        public void error​(String msg,
                          Throwable t)
        Specified by:
        error 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 msg)
        Specified by:
        error in interface org.slf4j.Logger
      • error

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

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

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

        public void error​(org.slf4j.Marker marker,
                          String msg,
                          Throwable t)
        Specified by:
        error in interface org.slf4j.Logger