Package | Description |
---|---|
net.sf.log4jdbc.log | |
net.sf.log4jdbc.log.log4j2 | |
net.sf.log4jdbc.log.log4j2.message | |
net.sf.log4jdbc.log.slf4j | |
net.sf.log4jdbc.sql.jdbcapi |
Modifier and Type | Method and Description |
---|---|
void |
SpyLogDelegator.connectionAborted(Spy spy,
long execTime)
Called whenever a connection spy is aborted.
|
void |
SpyLogDelegator.connectionClosed(Spy spy,
long execTime)
Called whenever a connection spy is closed.
|
void |
SpyLogDelegator.connectionOpened(Spy spy,
long execTime)
Called whenever a new connection spy is created.
|
void |
SpyLogDelegator.constructorReturned(Spy spy,
String constructionInfo)
Called when a spied upon object is constructed.
|
void |
SpyLogDelegator.exceptionOccured(Spy spy,
String methodCall,
Exception e,
String sql,
long execTime)
Called when a spied upon method throws an Exception.
|
void |
SpyLogDelegator.methodReturned(Spy spy,
String methodCall,
String returnMsg)
Called when spied upon method call returns.
|
void |
SpyLogDelegator.sqlOccurred(Spy spy,
String methodCall,
String sql)
Special call that is called only for JDBC method calls that contain SQL.
|
void |
SpyLogDelegator.sqlTimingOccurred(Spy spy,
long execTime,
String methodCall,
String sql)
Similar to sqlOccured, but reported after SQL executes and used to report timing stats on the SQL
|
Modifier and Type | Method and Description |
---|---|
void |
Log4j2SpyLogDelegator.connectionAborted(Spy spy,
long execTime) |
void |
Log4j2SpyLogDelegator.connectionClosed(Spy spy,
long execTime) |
void |
Log4j2SpyLogDelegator.connectionOpened(Spy spy,
long execTime) |
void |
Log4j2SpyLogDelegator.constructorReturned(Spy spy,
String constructionInfo) |
void |
Log4j2SpyLogDelegator.exceptionOccured(Spy spy,
String methodCall,
Exception e,
String sql,
long execTime) |
void |
Log4j2SpyLogDelegator.methodReturned(Spy spy,
String methodCall,
String returnMsg) |
void |
Log4j2SpyLogDelegator.sqlOccurred(Spy spy,
String methodCall,
String sql) |
void |
Log4j2SpyLogDelegator.sqlTimingOccurred(Spy spy,
long execTime,
String methodCall,
String sql) |
Constructor and Description |
---|
ConnectionMessage(Spy spy,
long execTime,
ConnectionMessage.Operation operation,
boolean isDebugEnabled) |
ExceptionOccuredMessage(Spy spy,
String methodCall,
String sql,
long execTime,
boolean isdebugEnabled) |
MethodReturnedMessage(Spy spy,
String methodCall,
String returnMsg,
boolean isDebugEnabled) |
SqlTimingOccurredMessage(Spy spy,
long execTime,
String methodCall,
String sql,
boolean isDebugEnabled) |
Modifier and Type | Method and Description |
---|---|
void |
Slf4jSpyLogDelegator.connectionAborted(Spy spy,
long execTime) |
void |
Slf4jSpyLogDelegator.connectionClosed(Spy spy,
long execTime) |
void |
Slf4jSpyLogDelegator.connectionOpened(Spy spy,
long execTime) |
void |
Slf4jSpyLogDelegator.constructorReturned(Spy spy,
String constructionInfo) |
void |
Slf4jSpyLogDelegator.exceptionOccured(Spy spy,
String methodCall,
Exception e,
String sql,
long execTime) |
void |
Slf4jSpyLogDelegator.methodReturned(Spy spy,
String methodCall,
String returnMsg) |
void |
Slf4jSpyLogDelegator.sqlOccurred(Spy spy,
String methodCall,
String sql) |
void |
Slf4jSpyLogDelegator.sqlTimingOccurred(Spy spy,
long execTime,
String methodCall,
String sql)
Special call that is called only for JDBC method calls that contain SQL.
|
Modifier and Type | Class and Description |
---|---|
class |
CallableStatementSpy
Wraps a CallableStatement and reports method calls, returns and exceptions.
|
class |
ConnectionSpy
Wraps a JDBC Connection and reports method calls, returns and exceptions.
|
class |
DataSourceSpy
A proxy datasource that can be used to wrap a real data source allowing log4jdbc to do its work on the real
data source.
|
class |
PreparedStatementSpy
Wraps a PreparedStatement and reports method calls, returns and exceptions.
|
class |
ResultSetSpy
Wraps a ResultSet and reports method calls, returns and exceptions.
|
class |
StatementSpy
Wraps a Statement and reports method calls, returns and exceptions.
|
Copyright © 2013 Bgee - Swiss Institute of Bioinformatics. All Rights Reserved.