Doctrine


Doctrine\DBAL\Logging\SQLLogger
/Doctrine/DBAL/Logging/SQLLogger.php at line 36

Interface SQLLogger

SQLLogger

public interface SQLLogger

Interface for SQL loggers.

License:
http://www.opensource.org/licenses/lgpl-license.php LGPL
See Also:
www.doctrine-project.org
Since:
2.0
Version:
$Revision$
Author:
Benjamin Eberlei
Guilherme Blanco
Jonathan Wage
Roman Borschel

Method Summary
void

logSQL(string sql, array params)

Logs a SQL statement somewhere.

Method Detail

/Doctrine/DBAL/Logging/SQLLogger.php at line 44

logSQL

public void logSQL(string sql, array params)

Logs a SQL statement somewhere.

Parameters:
sql - The SQL to be executed.
params - The SQL parameters.

Doctrine