Package gaiasky.util

Class Logger


  • public class Logger
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Logger()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Logger.Log getLogger()
      Returns default logger
      static Logger.Log getLogger​(java.lang.Class<?> clazz)
      Gets the logger for the particular class
      static Logger.Log getLogger​(java.lang.String tag)
      Gets a logger for an arbitary string tag
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Logger

        public Logger()
    • Method Detail

      • getLogger

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

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

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