Class SystemLogger

java.lang.Object
me.hsgamer.hscore.logger.system.SystemLogger
All Implemented Interfaces:
Logger

public class SystemLogger extends Object implements Logger
The system Logger
  • Constructor Details

    • SystemLogger

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

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

    • printDebug

      public SystemLogger printDebug()
      Enable printing debug messages
      Returns:
      this instance
    • 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