Class ModuleLogger

java.lang.Object
cn.lanink.gamecore.hotswap.ModuleLogger
All Implemented Interfaces:
cn.nukkit.utils.Logger

public class ModuleLogger extends Object implements cn.nukkit.utils.Logger
Author:
iGxnon
  • Field Details

    • module

      private final ModuleBase module
    • prefix

      private final String prefix
    • parent

      private final cn.nukkit.plugin.Plugin parent
  • Constructor Details

    • ModuleLogger

      public ModuleLogger(@NonNull @NonNull ModuleBase module, @NonNull @NonNull cn.nukkit.plugin.Plugin parentPlugin)
  • Method Details

    • getModule

      public ModuleBase getModule()
    • emergency

      public void emergency(String s)
      Specified by:
      emergency in interface cn.nukkit.utils.Logger
    • alert

      public void alert(String s)
      Specified by:
      alert in interface cn.nukkit.utils.Logger
    • critical

      public void critical(String s)
      Specified by:
      critical in interface cn.nukkit.utils.Logger
    • error

      public void error(String s)
      Specified by:
      error in interface cn.nukkit.utils.Logger
    • warning

      public void warning(String s)
      Specified by:
      warning in interface cn.nukkit.utils.Logger
    • notice

      public void notice(String s)
      Specified by:
      notice in interface cn.nukkit.utils.Logger
    • info

      public void info(String s)
      Specified by:
      info in interface cn.nukkit.utils.Logger
    • debug

      public void debug(String s)
      Specified by:
      debug in interface cn.nukkit.utils.Logger
    • log

      public void log(cn.nukkit.utils.LogLevel logLevel, String s)
      Specified by:
      log in interface cn.nukkit.utils.Logger
    • emergency

      public void emergency(String s, Throwable throwable)
      Specified by:
      emergency in interface cn.nukkit.utils.Logger
    • alert

      public void alert(String s, Throwable throwable)
      Specified by:
      alert in interface cn.nukkit.utils.Logger
    • critical

      public void critical(String s, Throwable throwable)
      Specified by:
      critical in interface cn.nukkit.utils.Logger
    • error

      public void error(String s, Throwable throwable)
      Specified by:
      error in interface cn.nukkit.utils.Logger
    • warning

      public void warning(String s, Throwable throwable)
      Specified by:
      warning in interface cn.nukkit.utils.Logger
    • notice

      public void notice(String s, Throwable throwable)
      Specified by:
      notice in interface cn.nukkit.utils.Logger
    • info

      public void info(String s, Throwable throwable)
      Specified by:
      info in interface cn.nukkit.utils.Logger
    • debug

      public void debug(String s, Throwable throwable)
      Specified by:
      debug in interface cn.nukkit.utils.Logger
    • log

      public void log(cn.nukkit.utils.LogLevel logLevel, String s, Throwable throwable)
      Specified by:
      log in interface cn.nukkit.utils.Logger