Package org.hawaiiframework.logging.sql
Class SqlStatementLogging
- java.lang.Object
-
- org.hawaiiframework.logging.sql.SqlStatementLogging
-
public final class SqlStatementLogging extends Object
Utility class to suppress sql logging.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidclear()Continue with normal logging.static booleanisSuppressed()Is logging suppressed?static SqlLoggingStatesuppress()Suppress logging.
-
-
-
Method Detail
-
suppress
public static SqlLoggingState suppress()
Suppress logging.- Returns:
- The auto closeable state.
-
isSuppressed
public static boolean isSuppressed()
Is logging suppressed?- Returns:
trueif the logging is suppressed for this thread.
-
clear
public static void clear()
Continue with normal logging.
-
-