Class LoggerService

java.lang.Object
com.kamikazejam.kamicommon.util.log.LoggerService

public abstract class LoggerService extends Object
A simple logger service that provides an abstraction for where to log messages.

Override logToConsole(java.lang.String, java.util.logging.Level) to change how log messages are processed.
  • Constructor Details

    • LoggerService

      public LoggerService()
  • Method Details

    • getLoggerName

      public abstract String getLoggerName()
    • isDebug

      public abstract boolean isDebug()
    • info

      public void info(@NotNull @NotNull String message)
    • info

      public void info(@NotNull @NotNull Throwable throwable)
    • info

      public void info(@NotNull @NotNull Throwable throwable, @NotNull @NotNull String message)
    • debug

      public void debug(@NotNull @NotNull String message)
    • warn

      public void warn(@NotNull @NotNull String message)
    • warn

      public void warn(@NotNull @NotNull Throwable throwable)
    • warn

      public void warn(@NotNull @NotNull Throwable throwable, @NotNull @NotNull String message)
    • warning

      public void warning(@NotNull @NotNull String message)
    • warning

      public void warning(@NotNull @NotNull Throwable throwable)
    • warning

      public void warning(@NotNull @NotNull Throwable throwable, @NotNull @NotNull String message)
    • severe

      public void severe(@NotNull @NotNull String message)
    • severe

      public void severe(@NotNull @NotNull Throwable throwable)
    • severe

      public void severe(@NotNull @NotNull Throwable throwable, @NotNull @NotNull String message)
    • error

      public void error(@NotNull @NotNull String message)
    • error

      public void error(@NotNull @NotNull Throwable throwable)
    • error

      public void error(@NotNull @NotNull Throwable throwable, @NotNull @NotNull String message)
    • logToConsole

      public void logToConsole(String message, Level level)