Package gaiasky.util

Class Logger

java.lang.Object
gaiasky.util.Logger

public class Logger extends Object
The Gaia Sky logger.
  • Field Details

  • Constructor Details

    • Logger

      public Logger()
  • Method Details

    • log

      public static void log(Logger.LoggerLevel level, Object... messages)
    • getLogger

      public static Logger.Log getLogger()
      Returns default logger
      Returns:
      The default logger
    • getLogger

      public static Logger.Log getLogger(Class<?> clazz)
      Gets the logger for the particular class
      Parameters:
      clazz - The class
      Returns:
      The logger
    • getLogger

      public static Logger.Log getLogger(String tag)
      Gets a logger for an arbitrary string tag
      Parameters:
      tag - The tag
      Returns:
      The logger