Class BufferedHandler
- java.lang.Object
-
- java.util.logging.Handler
-
- fr.ens.biologie.genomique.eoulsan.BufferedHandler
-
public class BufferedHandler extends Handler
This class define a buffered handler.- Since:
- 2.0
- Author:
- Laurent Jourdren
-
-
Constructor Summary
Constructors Constructor Description BufferedHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHandler(Handler handler)
Add an Handler.void
close()
void
flush()
void
publish(LogRecord record)
void
setFormatter(Formatter newFormatter)
void
setLevel(Level newLevel)
-
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter
-
-
-
-
Method Detail
-
addHandler
public void addHandler(Handler handler)
Add an Handler.- Parameters:
handler
- Handler to had
-
close
public void close() throws SecurityException
- Specified by:
close
in classHandler
- Throws:
SecurityException
-
setLevel
public void setLevel(Level newLevel) throws SecurityException
- Overrides:
setLevel
in classHandler
- Throws:
SecurityException
-
setFormatter
public void setFormatter(Formatter newFormatter) throws SecurityException
- Overrides:
setFormatter
in classHandler
- Throws:
SecurityException
-
-