Package org.verapdf.core.utils
Class LogsFileHandler
java.lang.Object
java.util.logging.Handler
java.util.logging.StreamHandler
java.util.logging.FileHandler
org.verapdf.core.utils.LogsFileHandler
-
Field Summary
-
Constructor Summary
ConstructorDescriptionLogsFileHandler
(String pattern) LogsFileHandler
(String pattern, boolean append) LogsFileHandler
(String pattern, int limit, int count) LogsFileHandler
(String pattern, int limit, int count, boolean append) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
static String
static long
getPID()
static void
setLoggingLevel
(Level level) Methods inherited from class java.util.logging.FileHandler
close, publish
Methods inherited from class java.util.logging.StreamHandler
flush, isLoggable, setEncoding, setOutputStream
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel
-
Field Details
-
SUFFIX
-
-
Constructor Details
-
LogsFileHandler
- Throws:
IOException
SecurityException
-
LogsFileHandler
- Throws:
IOException
SecurityException
-
LogsFileHandler
- Throws:
IOException
SecurityException
-
LogsFileHandler
- Throws:
IOException
SecurityException
-
LogsFileHandler
public LogsFileHandler(String pattern, int limit, int count, boolean append) throws IOException, SecurityException - Throws:
IOException
SecurityException
-
-
Method Details
-
getPID
public static long getPID() -
getLogFile
- Throws:
IOException
-
configLogs
public static void configLogs() -
createNewLogFile
- Throws:
IOException
-
setLoggingLevel
-