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 void
clear()
Continue with normal logging.static boolean
isSuppressed()
Is logging suppressed?static SqlLoggingState
suppress()
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:
true
if the logging is suppressed for this thread.
-
clear
public static void clear()
Continue with normal logging.
-
-