public class LogLoader extends Object
コンストラクタと説明 |
---|
LogLoader() |
修飾子とタイプ | メソッドと説明 |
---|---|
protected Filter |
createFilter(IConfiguration config)
Filterを生成し、設定情報で初期化します。
|
protected Formatter |
createFormatter(IConfiguration config)
Formatterを生成し、設定情報で初期化します。
|
protected Handler |
createHandler(IConfiguration config,
Level defaultLevel)
Handlerを生成し、設定情報で初期化します。
|
protected Object |
createInstance(String className) |
protected Logger |
createLogger(IConfiguration config)
Loggerを生成し、設定情報で初期化します。
|
String |
getRoot() |
void |
init()
ログの設定情報を読み込みます。
|
void |
init(IConfiguration doc)
ログの設定情報を読み込みます。
|
List<Logger> |
listLogger() |
protected Level |
parseLevel(IConfiguration config) |
public void init(IConfiguration doc) throws Exception
Exception
protected Logger createLogger(IConfiguration config) throws Exception
config
- 設定情報Exception
protected Level parseLevel(IConfiguration config) throws Exception
Exception
protected Object createInstance(String className) throws ClassNotFoundException, IllegalAccessException, InstantiationException
protected Filter createFilter(IConfiguration config) throws Exception
config
- 設定情報Exception
protected Handler createHandler(IConfiguration config, Level defaultLevel) throws Exception
config
- 設定情報defaultLevel
- デフォルトのログレベルException
protected Formatter createFormatter(IConfiguration config) throws Exception
config
- 設定情報Exception
public String getRoot()
Copyright © 2021 S.D.S Co.,Ltd.. All rights reserved.