クラス LoggerContext.Builder
java.lang.Object
org.nkjmlab.sorm4j.extension.logger.LoggerContext.Builder
- 含まれているクラス:
- LoggerContext
-
メソッドの概要
修飾子とタイプメソッド説明build()voidoff(LoggerContext.Category... categories) Disables logging for the given categories.voidoffAll()Disables logging all categories.voidon(LoggerContext.Category... categories) Enables logging for the given parameter ofLoggerContext.Category.voidonAll()Enables logging all categories.voidsetLoggerSupplier(Supplier<SormLogger> loggerSupplier)
-
メソッドの詳細
-
setLoggerSupplier
-
build
-
on
Enables logging for the given parameter ofLoggerContext.Category.- パラメータ:
categories- are inLoggerContext.Category
-
off
Disables logging for the given categories.- パラメータ:
categories-
-
onAll
public void onAll()Enables logging all categories. SeeLoggerContext.Category. -
offAll
public void offAll()Disables logging all categories. SeeLoggerContext.Category.
-