Class JulLogger

java.lang.Object
me.hsgamer.hscore.logger.jul.JulLogger
All Implemented Interfaces:
Logger

public class JulLogger extends Object implements Logger
The Logger for Logger
  • Constructor Details

    • JulLogger

      public JulLogger(Logger logger)
      Create a new logger
      Parameters:
      logger - the logger
    • JulLogger

      public JulLogger(String name)
      Create a new logger
      Parameters:
      name - the name
    • JulLogger

      public JulLogger(Class<?> clazz)
      Create a new logger
      Parameters:
      clazz - the class
  • Method Details

    • log

      public void log(LogLevel level, String message)
      Description copied from interface: Logger
      Log a message
      Specified by:
      log in interface Logger
      Parameters:
      level - the level
      message - the message
    • log

      public void log(LogLevel level, Throwable throwable)
      Description copied from interface: Logger
      Log a throwable
      Specified by:
      log in interface Logger
      Parameters:
      level - the level
      throwable - the throwable
    • log

      public void log(LogLevel level, String message, Throwable throwable)
      Description copied from interface: Logger
      Log a message and a throwable
      Specified by:
      log in interface Logger
      Parameters:
      level - the level
      message - the message
      throwable - the throwable