Class LoggerUtil

java.lang.Object
com.github.tadukoo.util.LoggerUtil

public final class LoggerUtil extends Object
Util functions for dealing with Loggers.
Version:
0.1-Alpha-SNAPSHOT
Author:
Logan Ferree (Tadukoo)
  • Constructor Details

    • LoggerUtil

      private LoggerUtil()
      Not allowed to create a LoggerUtil
  • Method Details

    • createFileLogger

      public static Logger createFileLogger(String filepath, Level level) throws IOException
      Creates a new Logger for the given file with the given Level of logging.
      Parameters:
      filepath - The path to the File to be used as a log
      level - The Level to log messages at
      Returns:
      The created Logger
      Throws:
      IOException - If something goes wrong in creating the file logger