Class LoggerProvider

java.lang.Object
me.hsgamer.hscore.logger.provider.LoggerProvider

public class LoggerProvider extends Object
  • Method Details

    • setLoggerProvider

      public static void setLoggerProvider(Function<String,Logger> loggerProvider)
      Set the logger provider
      Parameters:
      loggerProvider - the logger provider
    • getLogger

      public static Logger getLogger(String name)
      Get the logger
      Parameters:
      name - the name
      Returns:
      the logger
    • getLogger

      public static Logger getLogger(Class<?> clazz)
      Get the logger
      Parameters:
      clazz - the class
      Returns:
      the logger