This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/HttpKernel/Log/LoggerInterface.php

55 lines
1.3 KiB
PHP
Raw Normal View History

<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\HttpKernel\Log;
use Psr\Log\LoggerInterface as PsrLogger;
/**
* LoggerInterface.
*
* @author Fabien Potencier <fabien@symfony.com>
2011-07-20 09:14:31 +01:00
*
* @deprecated since version 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
*/
interface LoggerInterface extends PsrLogger
{
2011-07-20 09:14:31 +01:00
/**
* @api
2014-12-21 17:00:50 +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());
2011-07-20 09:14:31 +01:00
/**
* @api
2014-12-21 17:00:50 +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());
2011-07-20 09:14:31 +01:00
/**
* @api
2014-12-21 17:00:50 +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());
2011-07-20 09:14:31 +01:00
/**
* @api
2014-12-21 17:00:50 +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());
}