Class FileHandler

java.lang.Object
com.sk89q.worldguard.blacklist.logger.FileHandler
All Implemented Interfaces:
LoggerHandler

public class FileHandler extends Object implements LoggerHandler
  • Constructor Details

    • FileHandler

      public FileHandler(String pathPattern, String worldName, Logger logger)
      Construct the object.
      Parameters:
      pathPattern - The pattern for the log file path
      worldName - The name of the world
      logger - The logger used to log errors
    • FileHandler

      public FileHandler(String pathPattern, int cacheSize, String worldName, Logger logger)
      Construct the object.
      Parameters:
      pathPattern - The pattern for logfile paths
      cacheSize - The size of the file cache
      worldName - The name of the associated world
      logger - The logger to log errors with
  • Method Details