パッケージ org.nkjmlab.sorm4j
クラス OrmLogger
- java.lang.Object
-
- org.nkjmlab.sorm4j.OrmLogger
-
public final class OrmLogger extends Object
-
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static classOrmLogger.CategoryCategories ofOrmLogger.
-
メソッドの概要
すべてのメソッド staticメソッド concreteメソッド 修飾子とタイプ メソッド 説明 static voidoff(OrmLogger.Category... categories)Disables logging for the given categories.static voidoffAll()Disables logging all.static voidon(OrmLogger.Category... categories)Enables logging for the given categories.static voidonAll()Enables logging all.static voidsetLogMode(Map<OrmLogger.Category,Boolean> mode)Sets log mode.
-
-
-
メソッドの詳細
-
setLogMode
public static void setLogMode(Map<OrmLogger.Category,Boolean> mode)
Sets log mode.- パラメータ:
mode-
-
on
public static void on(OrmLogger.Category... categories)
Enables logging for the given categories.- パラメータ:
categories-
-
off
public static void off(OrmLogger.Category... categories)
Disables logging for the given categories.- パラメータ:
categories-
-
onAll
public static void onAll()
Enables logging all.
-
offAll
public static void offAll()
Disables logging all.
-
-