public class FileHandler extends StreamHandler implements IConfigurable
コンストラクタと説明 |
---|
FileHandler() |
修飾子とタイプ | メソッドと説明 |
---|---|
protected OutputStream |
getOutputStream() |
protected void |
init() |
void |
init(IConfiguration config)
実装クラスがインスタンス化される時に呼び出されます。
|
protected void |
initOutput() |
void |
publish(LogRecord record) |
protected void |
roll() |
protected void |
rollWithLock() |
protected void |
setOutputStream(OutputStream os) |
close, flush, isLoggable, setEncoding
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel
public FileHandler() throws IOException
IOException
protected void init() throws IOException
IOException
public void init(IConfiguration config) throws Exception
IConfigurable
init
インタフェース内 IConfigurable
config
- 設定ファイル中のそのモジュールに関する記述の
コンテキストを表すIConfigurationオブジェクトException
protected void initOutput() throws IOException
IOException
public void publish(LogRecord record)
publish
クラス内 StreamHandler
protected void roll() throws IOException
IOException
protected void rollWithLock() throws IOException
IOException
protected void setOutputStream(OutputStream os)
setOutputStream
クラス内 StreamHandler
protected OutputStream getOutputStream()
Copyright © 2021 S.D.S Co.,Ltd.. All rights reserved.