Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

safejdbc
Interface LogListener  view LogListener download LogListener.java


public interface LogListener

A LogListener is used by a LoggingWrapper. The LoggingWrapper will hand over all SQL-Statements to your LogListener implementation. Hence you are free to log the statements wherever you like. This way you can easily log to a file or integrate a logging framework like log4j. All you have to do is implement the log(String msg) method


Method Summary
 void log(java.lang.String sqlstmt)
          The framework will hand over all SQL statements to this method.
 

Method Detail

log

public void log(java.lang.String sqlstmt)
The framework will hand over all SQL statements to this method.