Interface ReplicationLog

  • All Known Implementing Classes:
    ListenerLogDelegator

    public interface ReplicationLog
    ReplicationLog...
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  ReplicationLog.Level
      Log level
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void debug​(java.lang.String message)
      Log a message with level debug.
      void debug​(java.lang.String fmt, java.lang.Object... args)
      Log a message with level debug.
      void error​(java.lang.String message)
      Log a message with level error.
      void error​(java.lang.String fmt, java.lang.Object... args)
      Log a message with level error.
      ReplicationLog.Level getLevel()
      Returns the log level of this log
      java.util.Collection<java.lang.String> getLines()
      Returns the lines
      void info​(java.lang.String message)
      Log a message with level info.
      void info​(java.lang.String fmt, java.lang.Object... args)
      Log a message with level info.
      void setLevel​(ReplicationLog.Level level)
      Set the log level
      void warn​(java.lang.String message)
      Log a message with level warn.
      void warn​(java.lang.String fmt, java.lang.Object... args)
      Log a message with level warn.
    • Method Detail

      • getLevel

        ReplicationLog.Level getLevel()
        Returns the log level of this log
        Returns:
        the log level
      • setLevel

        void setLevel​(ReplicationLog.Level level)
        Set the log level
        Parameters:
        level - the log level
      • getLines

        java.util.Collection<java.lang.String> getLines()
        Returns the lines
        Returns:
        the lines.
      • debug

        void debug​(java.lang.String message)
        Log a message with level debug.
        Parameters:
        message - the log message
      • debug

        void debug​(java.lang.String fmt,
                   java.lang.Object... args)
        Log a message with level debug.
        Parameters:
        fmt - the message format
        args - the message arguments
        See Also:
        String.format(String, Object...)
      • info

        void info​(java.lang.String message)
        Log a message with level info.
        Parameters:
        message - the log message
      • info

        void info​(java.lang.String fmt,
                  java.lang.Object... args)
        Log a message with level info.
        Parameters:
        fmt - the message format
        args - the message arguments
        See Also:
        String.format(String, Object...)
      • warn

        void warn​(java.lang.String message)
        Log a message with level warn.
        Parameters:
        message - the log message
      • warn

        void warn​(java.lang.String fmt,
                  java.lang.Object... args)
        Log a message with level warn.
        Parameters:
        fmt - the message format
        args - the message arguments
        See Also:
        String.format(String, Object...)
      • error

        void error​(java.lang.String message)
        Log a message with level error.
        Parameters:
        message - the log message
      • error

        void error​(java.lang.String fmt,
                   java.lang.Object... args)
        Log a message with level error.
        Parameters:
        fmt - the message format
        args - the message arguments
        See Also:
        String.format(String, Object...)