Class LoggerUtil

java.lang.Object
org.aesh.terminal.utils.LoggerUtil

public class LoggerUtil extends Object
butt ugly logger util, but its simple and gets the job done (hopefully not too dangerous) warning: made it even uglier when Settings was changed to not be a Singleton... gah!
Author:
Stale W. Pedersen, Daniel Cunha (soro)
  • Method Details

    • getLogger

      public static Logger getLogger(Class clazz)
      Get a logger for the specified class.
      Parameters:
      clazz - the class to get a logger for
      Returns:
      the logger
    • getLogger

      public static Logger getLogger(String name)
      Get a logger for the specified name.
      Parameters:
      name - the logger name
      Returns:
      the logger
    • doLog

      public static void doLog()
      Enable logging and configure all existing loggers to use the file handler.