Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.log
Class FormattedCommonsJdbcEventLogger

    java.lang.Object
      org.apache.cayenne.log.CommonsJdbcEventLogger
          org.apache.cayenne.log.FormattedCommonsJdbcEventLogger

All Implemented Interfaces:
  JdbcEventLogger

    public class FormattedCommonsJdbcEventLogger

extends CommonsJdbcEventLogger

A `CommonsJdbcEventLogger` extension that provides pretty formatting of the logged SQL messages.

Since:
  3.1

Constructor Summary
`FormattedCommonsJdbcEventLogger()`

Method Summary
`void` | `logQuery(String queryStr, List<DbAttribute> attrs, List<?> params, long time)`

Methods inherited from class org.apache.cayenne.log.CommonsJdbcEventLogger
`isLoggable, log, logBeginTransaction, logCommitTransaction, logConnect, logConnect, logConnectFailure, logConnectSuccess, logGeneratedKey, logPoolCreated, logQuery, logQueryError, logQueryParameters, logRollbackTransaction, logSelectCount, logUpdateCount`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### FormattedCommonsJdbcEventLogger

    public FormattedCommonsJdbcEventLogger()

Method Detail

### logQuery

    public void logQuery(String queryStr,
                         List<DbAttribute> attrs,
                         List<?> params,
                         long time)

  Specified by:
    `logQuery` in interface `JdbcEventLogger`
  Overrides:
    `logQuery` in class `CommonsJdbcEventLogger`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.