Interface Logger

  • All Known Implementing Classes:
    BndLogger, MavenLogger

    public interface Logger
    Generic interface for logging various messages.
    • Method Detail

      • error

        void error​(@NotNull
                   @NotNull String message)
        Log an error message.
        Parameters:
        message - the message
      • error

        void error​(@NotNull
                   @NotNull String message,
                   @NotNull
                   @NotNull Throwable t)
        Log an error message, together with the Throwable that caused it.
        Parameters:
        message - the message
        t - the throwable that caused this error message
      • info

        void info​(@NotNull
                  @NotNull String message)
        Log an info message.
        Parameters:
        message - the messae
      • warn

        void warn​(@NotNull
                  @NotNull String message)
        Log a warning message.
        Parameters:
        message - the message
      • warn

        void warn​(@NotNull
                  @NotNull String message,
                  @NotNull
                  @NotNull Throwable t)
        Log a warning message, together with the Throwable that caused it.
        Parameters:
        message - the message
        t - the throwable that caused this error message
      • debug

        void debug​(@NotNull
                   @NotNull String message)
        Log a debug message.
        Parameters:
        message - the message