public class FileMonitor extends AbstractStreamMonitor
System.out.LEVELSDEBUG, DEFAULT_LEVEL, ERROR, FATAL, INFO, NONE, WARN| Constructor and Description |
|---|
FileMonitor(File file)
Constructor.
|
monitor, monitordebug, debug, error, error, fatalError, fatalError, info, info, warn, warnisDebugEnabled, isErrorEnabled, isFatalErrorEnabled, isInfoEnabled, isNoMesssages, isWarnEnabled, setLevelpublic FileMonitor(File file) throws FileNotFoundException
file - the file to be used for monitoringFileNotFoundException - if the file exists but is a directory
rather than a regular file, does not exist but cannot
be created, or cannot be opened for any other reasonCopyright © 2005–2020. All rights reserved.