Package com.cloudbees.jenkins.support
Class SupportLogHandler
- java.lang.Object
-
- java.util.logging.Handler
-
- com.cloudbees.jenkins.support.SupportLogHandler
-
public class SupportLogHandler extends Handler
A log handler that rotates files.- Author:
- Stephen Connolly
-
-
Constructor Summary
Constructors Constructor Description SupportLogHandler(int size, int fileSize, int maxFiles)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
flush()
List<LogRecord>
getRecent()
void
publish(LogRecord record)
void
setDirectory(File directory, String namePrefix)
-
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
-
-
-
-
Method Detail
-
close
public void close() throws SecurityException
- Specified by:
close
in classHandler
- Throws:
SecurityException
-
-