# Uses of Interface
org.apache.cayenne.log.SQLLogger

Packages that use SQLLogger
Package
Description
org.apache.cayenne.access
Contains classes that make up Cayenne ORM stack.
org.apache.cayenne.configuration.runtime
org.apache.cayenne.dba
Contains database adapter API (DbAdapter) and its default implementation.
org.apache.cayenne.dba.mysql
MySQL DbAdapter.
org.apache.cayenne.log
org.apache.cayenne.tx

- ## Uses of SQLLogger in org.apache.cayenne.access

  Fields in org.apache.cayenne.access declared as SQLLogger
  Modifier and Type
  Field
  Description
  `protected SQLLogger`
  DbGenerator.`sqlLogger`
  Methods in org.apache.cayenne.access that return SQLLogger
  Modifier and Type
  Method
  Description
  `SQLLogger`
  DataNode.`getSqlLogger()`
  Methods in org.apache.cayenne.access with parameters of type SQLLogger
  Modifier and Type
  Method
  Description
  `void`
  DataNode.`setSQLLogger(SQLLogger logger)`
  Constructors in org.apache.cayenne.access with parameters of type SQLLogger
  Modifier
  Constructor
  Description
  ``
  `DbGenerator(DbAdapter adapter, DataMap map, Collection<DbEntity> excludedEntities, DataDomain domain, SQLLogger logger)`
  Creates and initializes new DbGenerator instance.
  ``
  `DbGenerator(DbAdapter adapter, DataMap map, SQLLogger logger)`
  ``
  `DbGenerator(DbAdapter adapter, DataMap map, SQLLogger logger, Collection<DbEntity> excludedEntities)`

- ## Uses of SQLLogger in org.apache.cayenne.configuration.runtime

  Fields in org.apache.cayenne.configuration.runtime declared as SQLLogger
  Modifier and Type
  Field
  Description
  `protected SQLLogger`
  DefaultDataNodeFactory.`sqlLogger`

- ## Uses of SQLLogger in org.apache.cayenne.dba

  Fields in org.apache.cayenne.dba declared as SQLLogger
  Modifier and Type
  Field
  Description
  `protected SQLLogger`
  JdbcAdapter.`logger`
  Deprecated, for removal: This API element is subject to removal in a future version.
  Methods in org.apache.cayenne.dba that return SQLLogger
  Modifier and Type
  Method
  Description
  `SQLLogger`
  JdbcAdapter.`getSQLLogger()`
  Deprecated, for removal: This API element is subject to removal in a future version.
  logger should be taken from the DataNode

- ## Uses of SQLLogger in org.apache.cayenne.dba.mysql

  Methods in org.apache.cayenne.dba.mysql with parameters of type SQLLogger
  Modifier and Type
  Method
  Description
  `protected long`
  MySQLPkGenerator.`getLongPrimaryKey(SQLLogger logger, Statement statement, String entityName)`

- ## Uses of SQLLogger in org.apache.cayenne.log

  Classes in org.apache.cayenne.log that implement SQLLogger
  Modifier and Type
  Class
  Description
  `class`
  `NoopSQLLogger`
  A no-op `SQLLogger`.
  `class`
  `Slf4jSQLLogger`
  A `SQLLogger` that emits compact, single-line messages through slf4j-api under the fixed logger name `cayenne-sql`.

- ## Uses of SQLLogger in org.apache.cayenne.tx

  Fields in org.apache.cayenne.tx declared as SQLLogger
  Modifier and Type
  Field
  Description
  `protected SQLLogger`
  CayenneTransaction.`sqlLogger`
  `protected SQLLogger`
  DefaultTransactionFactory.`sqlLogger`
  `protected SQLLogger`
  ExternalTransaction.`sqlLogger`
  Constructors in org.apache.cayenne.tx with parameters of type SQLLogger
  Modifier
  Constructor
  Description
  ``
  `CayenneTransaction(SQLLogger sqlLogger)`
  ``
  `CayenneTransaction(SQLLogger sqlLogger, TransactionDescriptor descriptor)`
  ``
  `DefaultTransactionFactory(RuntimeProperties properties, SQLLogger sqlLogger)`
  ``
  `ExternalTransaction(SQLLogger sqlLogger)`
  ``
  `ExternalTransaction(SQLLogger sqlLogger, TransactionDescriptor descriptor)`