Class FileLogger

java.lang.Object
com.xinapse.util.logging.FileLogger

public final class FileLogger extends Object
A Logger that writes logging messages to File.
  • Method Details

    • getLogger

      public static Logger getLogger(String name, File f) throws IOException
      Returns a Logger for logging to a File.
      Parameters:
      name - the name of the Logger.
      f - the File to log to.
      Returns:
      a Logger for writing messages to file.
      Throws:
      IOException - if the log file could not be created or written to.