Class JKLoggerFactory

java.lang.Object
com.jk.core.logging.JKLoggerFactory

public class JKLoggerFactory extends Object
A factory for creating JKLogger objects.
  • Method Details

    • getLogger

      public static JKLogger getLogger(Class class1)
      Gets the logger.
      Parameters:
      class1 - the class 1
      Returns:
      the logger
    • getLogger

      public static JKLogger getLogger(String name)
      Gets the logger.
      Parameters:
      name - the name
      Returns:
      the logger
    • main

      public static void main(String[] args)
      The main method.
      Parameters:
      args - the arguments
    • initLoggers

      public static void initLoggers()
      Inits the loggers.
    • getCurrentLogFile

      public static File getCurrentLogFile()
      Gets the current log file.
      Returns:
      the current log file