diff --git a/lib/Doctrine/DBAL/Logging/EchoSqlLogger.php b/lib/Doctrine/DBAL/Logging/EchoSqlLogger.php deleted file mode 100644 index 9541547d9..000000000 --- a/lib/Doctrine/DBAL/Logging/EchoSqlLogger.php +++ /dev/null @@ -1,49 +0,0 @@ -. - */ - -namespace Doctrine\DBAL\Logging; - -/** - * A SQL logger that logs to the standard output using echo/var_dump. - * - * @license http://www.opensource.org/licenses/lgpl-license.php LGPL - * @link www.doctrine-project.org - * @since 2.0 - * @version $Revision$ - * @author Benjamin Eberlei - * @author Guilherme Blanco - * @author Jonathan Wage - * @author Roman Borschel - */ -class EchoSQLLogger implements SQLLogger -{ - /** - * {@inheritdoc} - */ - public function logSQL($sql, array $params = null) - { - echo $sql . PHP_EOL; - - if ($params) { - var_dump($params); - } - } -} \ No newline at end of file diff --git a/lib/Doctrine/DBAL/Logging/SqlLogger.php b/lib/Doctrine/DBAL/Logging/SqlLogger.php deleted file mode 100644 index a8b01a3bd..000000000 --- a/lib/Doctrine/DBAL/Logging/SqlLogger.php +++ /dev/null @@ -1,45 +0,0 @@ -. - */ - -namespace Doctrine\DBAL\Logging; - -/** - * Interface for SQL loggers. - * - * @license http://www.opensource.org/licenses/lgpl-license.php LGPL - * @link www.doctrine-project.org - * @since 2.0 - * @version $Revision$ - * @author Benjamin Eberlei - * @author Guilherme Blanco - * @author Jonathan Wage - * @author Roman Borschel - */ -interface SQLLogger -{ - /** - * Logs a SQL statement somewhere. - * - * @param string $sql The SQL to be executed. - * @param array $params The SQL parameters. - */ - function logSQL($sql, array $params = null); -} \ No newline at end of file