Class SqlStatementLogging


  • public final class SqlStatementLogging
    extends Object
    Utility class to suppress sql 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.