2010-02-17 13:54:36 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
2011-01-15 13:29:43 +00:00
|
|
|
* This file is part of the Symfony package.
|
2010-02-17 13:54:36 +00:00
|
|
|
*
|
2011-03-06 11:40:06 +00:00
|
|
|
* (c) Fabien Potencier <fabien@symfony.com>
|
2010-02-17 13:54:36 +00:00
|
|
|
*
|
2011-01-15 13:29:43 +00:00
|
|
|
* For the full copyright and license information, please view the LICENSE
|
|
|
|
* file that was distributed with this source code.
|
2010-02-17 13:54:36 +00:00
|
|
|
*/
|
|
|
|
|
2011-01-15 13:29:43 +00:00
|
|
|
namespace Symfony\Component\HttpKernel\Log;
|
|
|
|
|
2013-01-08 22:26:48 +00:00
|
|
|
use Psr\Log\LoggerInterface as PsrLogger;
|
|
|
|
|
2010-02-17 13:54:36 +00:00
|
|
|
/**
|
2010-04-07 01:51:29 +01:00
|
|
|
* LoggerInterface.
|
2010-02-17 13:54:36 +00:00
|
|
|
*
|
2011-03-06 11:40:06 +00:00
|
|
|
* @author Fabien Potencier <fabien@symfony.com>
|
2011-07-20 09:14:31 +01:00
|
|
|
*
|
2013-01-08 22:27:26 +00:00
|
|
|
* @deprecated since 2.2, to be removed in 3.0. Type-hint \Psr\Log\LoggerInterface instead.
|
2014-12-21 17:00:50 +00:00
|
|
|
*
|
2011-07-20 09:14:31 +01:00
|
|
|
* @api
|
2010-02-17 13:54:36 +00:00
|
|
|
*/
|
2013-01-08 22:26:48 +00:00
|
|
|
interface LoggerInterface extends PsrLogger
|
2010-02-17 13:54:36 +00:00
|
|
|
{
|
2011-07-20 09:14:31 +01:00
|
|
|
/**
|
|
|
|
* @api
|
2014-12-21 17:00:50 +00:00
|
|
|
*
|
2013-01-08 22:27:26 +00:00
|
|
|
* @deprecated since 2.2, to be removed in 3.0. Use emergency() which is PSR-3 compatible.
|
2011-07-20 09:14:31 +01:00
|
|
|
*/
|
2012-07-09 13:50:58 +01:00
|
|
|
public function emerg($message, array $context = array());
|
2010-02-17 13:54:36 +00:00
|
|
|
|
2011-07-20 09:14:31 +01:00
|
|
|
/**
|
|
|
|
* @api
|
2014-12-21 17:00:50 +00:00
|
|
|
*
|
2013-01-08 22:27:26 +00:00
|
|
|
* @deprecated since 2.2, to be removed in 3.0. Use critical() which is PSR-3 compatible.
|
2011-07-20 09:14:31 +01:00
|
|
|
*/
|
2012-07-09 13:50:58 +01:00
|
|
|
public function crit($message, array $context = array());
|
2010-02-17 13:54:36 +00:00
|
|
|
|
2011-07-20 09:14:31 +01:00
|
|
|
/**
|
|
|
|
* @api
|
2014-12-21 17:00:50 +00:00
|
|
|
*
|
2013-01-08 22:27:26 +00:00
|
|
|
* @deprecated since 2.2, to be removed in 3.0. Use error() which is PSR-3 compatible.
|
2011-07-20 09:14:31 +01:00
|
|
|
*/
|
2012-07-09 13:50:58 +01:00
|
|
|
public function err($message, array $context = array());
|
2010-02-17 13:54:36 +00:00
|
|
|
|
2011-07-20 09:14:31 +01:00
|
|
|
/**
|
|
|
|
* @api
|
2014-12-21 17:00:50 +00:00
|
|
|
*
|
2013-01-08 22:27:26 +00:00
|
|
|
* @deprecated since 2.2, to be removed in 3.0. Use warning() which is PSR-3 compatible.
|
2011-07-20 09:14:31 +01:00
|
|
|
*/
|
2012-07-09 13:50:58 +01:00
|
|
|
public function warn($message, array $context = array());
|
2010-02-17 13:54:36 +00:00
|
|
|
}
|