Package org.seasar.doma.quarkus.runtime
Class DomaLogger
- java.lang.Object
-
- org.seasar.doma.jdbc.AbstractJdbcLogger<org.jboss.logging.Logger.Level>
-
- org.seasar.doma.quarkus.runtime.DomaLogger
-
- All Implemented Interfaces:
org.seasar.doma.jdbc.JdbcLogger
public class DomaLogger extends org.seasar.doma.jdbc.AbstractJdbcLogger<org.jboss.logging.Logger.Level>
-
-
Constructor Summary
Constructors Constructor Description DomaLogger(LogPreferences logPreferences)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogPreferencesgetLogPreferences()protected voidlog(org.jboss.logging.Logger.Level level, String callerClassName, String callerMethodName, Throwable throwable, Supplier<String> messageSupplier)protected voidlogConnectionClosingFailure(String callerClassName, String callerMethodName, SQLException e, org.jboss.logging.Logger.Level level, Supplier<String> messageSupplier)protected voidlogDaoMethodEntering(String callerClassName, String callerMethodName, Object[] args, org.jboss.logging.Logger.Level level, Supplier<String> messageSupplier)protected voidlogDaoMethodExiting(String callerClassName, String callerMethodName, Object result, org.jboss.logging.Logger.Level level, Supplier<String> messageSupplier)protected voidlogDaoMethodThrowing(String callerClassName, String callerMethodName, RuntimeException e, org.jboss.logging.Logger.Level level, Supplier<String> messageSupplier)protected voidlogResultSetClosingFailure(String callerClassName, String callerMethodName, SQLException e, org.jboss.logging.Logger.Level level, Supplier<String> messageSupplier)protected voidlogSql(String callerClassName, String callerMethodName, org.seasar.doma.jdbc.Sql<?> sql, org.jboss.logging.Logger.Level level, Supplier<String> messageSupplier)protected voidlogSqlExecutionSkipping(String callerClassName, String callerMethodName, org.seasar.doma.jdbc.SqlExecutionSkipCause cause, org.jboss.logging.Logger.Level level, Supplier<String> messageSupplier)protected voidlogStatementClosingFailure(String callerClassName, String callerMethodName, SQLException e, org.jboss.logging.Logger.Level level, Supplier<String> messageSupplier)-
Methods inherited from class org.seasar.doma.jdbc.AbstractJdbcLogger
getSqlText, logAutoCommitEnablingFailure, logAutoCommitEnablingFailure, logConnectionClosingFailure, logDaoMethodEntering, logDaoMethodExiting, logDaoMethodThrowing, logResultSetClosingFailure, logSql, logSqlExecutionSkipping, logStatementClosingFailure, logTransactionBegun, logTransactionBegun, logTransactionCommitted, logTransactionCommitted, logTransactionEnded, logTransactionEnded, logTransactionIsolationSettingFailure, logTransactionIsolationSettingFailure, logTransactionRollbackFailure, logTransactionRollbackFailure, logTransactionRolledback, logTransactionRolledback, logTransactionSavepointCreated, logTransactionSavepointCreated, logTransactionSavepointReleased, logTransactionSavepointReleased, logTransactionSavepointRolledback, logTransactionSavepointRolledback
-
-
-
-
Constructor Detail
-
DomaLogger
public DomaLogger(LogPreferences logPreferences)
-
-
Method Detail
-
getLogPreferences
public LogPreferences getLogPreferences()
-
log
protected void log(org.jboss.logging.Logger.Level level, String callerClassName, String callerMethodName, Throwable throwable, Supplier<String> messageSupplier)- Specified by:
login classorg.seasar.doma.jdbc.AbstractJdbcLogger<org.jboss.logging.Logger.Level>
-
logSql
protected void logSql(String callerClassName, String callerMethodName, org.seasar.doma.jdbc.Sql<?> sql, org.jboss.logging.Logger.Level level, Supplier<String> messageSupplier)
- Overrides:
logSqlin classorg.seasar.doma.jdbc.AbstractJdbcLogger<org.jboss.logging.Logger.Level>
-
logDaoMethodEntering
protected void logDaoMethodEntering(String callerClassName, String callerMethodName, Object[] args, org.jboss.logging.Logger.Level level, Supplier<String> messageSupplier)
- Overrides:
logDaoMethodEnteringin classorg.seasar.doma.jdbc.AbstractJdbcLogger<org.jboss.logging.Logger.Level>
-
logDaoMethodExiting
protected void logDaoMethodExiting(String callerClassName, String callerMethodName, Object result, org.jboss.logging.Logger.Level level, Supplier<String> messageSupplier)
- Overrides:
logDaoMethodExitingin classorg.seasar.doma.jdbc.AbstractJdbcLogger<org.jboss.logging.Logger.Level>
-
logDaoMethodThrowing
protected void logDaoMethodThrowing(String callerClassName, String callerMethodName, RuntimeException e, org.jboss.logging.Logger.Level level, Supplier<String> messageSupplier)
- Overrides:
logDaoMethodThrowingin classorg.seasar.doma.jdbc.AbstractJdbcLogger<org.jboss.logging.Logger.Level>
-
logSqlExecutionSkipping
protected void logSqlExecutionSkipping(String callerClassName, String callerMethodName, org.seasar.doma.jdbc.SqlExecutionSkipCause cause, org.jboss.logging.Logger.Level level, Supplier<String> messageSupplier)
- Overrides:
logSqlExecutionSkippingin classorg.seasar.doma.jdbc.AbstractJdbcLogger<org.jboss.logging.Logger.Level>
-
logConnectionClosingFailure
protected void logConnectionClosingFailure(String callerClassName, String callerMethodName, SQLException e, org.jboss.logging.Logger.Level level, Supplier<String> messageSupplier)
- Overrides:
logConnectionClosingFailurein classorg.seasar.doma.jdbc.AbstractJdbcLogger<org.jboss.logging.Logger.Level>
-
logStatementClosingFailure
protected void logStatementClosingFailure(String callerClassName, String callerMethodName, SQLException e, org.jboss.logging.Logger.Level level, Supplier<String> messageSupplier)
- Overrides:
logStatementClosingFailurein classorg.seasar.doma.jdbc.AbstractJdbcLogger<org.jboss.logging.Logger.Level>
-
logResultSetClosingFailure
protected void logResultSetClosingFailure(String callerClassName, String callerMethodName, SQLException e, org.jboss.logging.Logger.Level level, Supplier<String> messageSupplier)
- Overrides:
logResultSetClosingFailurein classorg.seasar.doma.jdbc.AbstractJdbcLogger<org.jboss.logging.Logger.Level>
-
-