クラス LoggerConfig
- java.lang.Object
-
- org.nkjmlab.sorm4j.extension.LoggerConfig
-
public final class LoggerConfig extends Object
Logger for Sorm4j.- 作成者:
- nkjm
-
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static classLoggerConfig.CategoryCategories ofLoggerConfig.static classLoggerConfig.LogPoint
-
フィールドの概要
フィールド 修飾子とタイプ フィールド 説明 booleanforceLogging
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 LoggerConfig()
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 Optional<LoggerConfig.LogPoint>createLogPoint(LoggerConfig.Category category, Class<?> clazz)voidoff(LoggerConfig.Category... categories)Disables logging for the given categories.voidoffAll()Disables logging all categories.voidon(LoggerConfig.Category... categories)Enables logging for the given parameter ofLoggerConfig.Category.voidonAll()Enables logging all categories.
-
-
-
メソッドの詳細
-
on
public void on(LoggerConfig.Category... categories)
Enables logging for the given parameter ofLoggerConfig.Category.- パラメータ:
categories- are inLoggerConfig.Category
-
off
public void off(LoggerConfig.Category... categories)
Disables logging for the given categories.- パラメータ:
categories-
-
onAll
public void onAll()
Enables logging all categories. SeeLoggerConfig.Category.
-
offAll
public void offAll()
Disables logging all categories. SeeLoggerConfig.Category.
-
createLogPoint
public Optional<LoggerConfig.LogPoint> createLogPoint(LoggerConfig.Category category, Class<?> clazz)
-
-