Class MicroLogger

java.lang.Object
me.lokka30.levelledmobs.util.MicroLogger

public class MicroLogger extends Object
  • Constructor Details

    • MicroLogger

      public MicroLogger(String prefix)
      Create a new instance of MicroLogger with a custom prefix
      Parameters:
      prefix - the prefix to use
      Since:
      unknown
  • Method Details

    • getPrefix

      public String getPrefix()
      Returns:
      the current prefix
      Since:
      unknown
    • setPrefix

      public void setPrefix(String prefix)
      Parameters:
      prefix - the prefix that should be set
      Since:
      unknown
    • info

      public void info(String message)
      Parameters:
      message - message to send with INFO log-level
      Since:
      unknown
    • warning

      public void warning(String message)
      Parameters:
      message - message to send with WARNING log-level
      Since:
      unknown
    • error

      public void error(String message)
      Parameters:
      message - message to send with ERROR log-level
      Since:
      unknown