safejdbc
Interface LogListener


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.


Copyright (c) 2001, 2002 by Jan Hermanns and Arno Haase. All Rights Reserved.