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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLogsFileHandler(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 voidstatic voidstatic Stringstatic longgetPID()static voidsetLoggingLevel(Level level) Methods inherited from class java.util.logging.FileHandler
close, publishMethods inherited from class java.util.logging.StreamHandler
flush, isLoggable, setEncoding, setOutputStreamMethods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel
-
Field Details
-
SUFFIX
-
-
Constructor Details
-
LogsFileHandler
- Throws:
IOExceptionSecurityException
-
LogsFileHandler
- Throws:
IOExceptionSecurityException
-
LogsFileHandler
- Throws:
IOExceptionSecurityException
-
LogsFileHandler
- Throws:
IOExceptionSecurityException
-
LogsFileHandler
public LogsFileHandler(String pattern, int limit, int count, boolean append) throws IOException, SecurityException - Throws:
IOExceptionSecurityException
-
-
Method Details
-
getPID
public static long getPID() -
getLogFile
- Throws:
IOException
-
configLogs
public static void configLogs() -
createNewLogFile
- Throws:
IOException
-
setLoggingLevel
-