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;
|
|
|
|
|
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
|
|
|
*
|
|
|
|
* @api
|
2010-02-17 13:54:36 +00:00
|
|
|
*/
|
|
|
|
interface LoggerInterface
|
|
|
|
{
|
2011-07-20 09:14:31 +01:00
|
|
|
/**
|
|
|
|
* @api
|
|
|
|
*/
|
2011-06-17 11:19:28 +01:00
|
|
|
function emerg($message, array $context = array());
|
2010-02-17 13:54:36 +00:00
|
|
|
|
2011-07-20 09:14:31 +01:00
|
|
|
/**
|
|
|
|
* @api
|
|
|
|
*/
|
2011-06-17 11:19:28 +01:00
|
|
|
function alert($message, array $context = array());
|
2010-02-17 13:54:36 +00:00
|
|
|
|
2011-07-20 09:14:31 +01:00
|
|
|
/**
|
|
|
|
* @api
|
|
|
|
*/
|
2011-06-17 11:19:28 +01:00
|
|
|
function crit($message, array $context = array());
|
2010-02-17 13:54:36 +00:00
|
|
|
|
2011-07-20 09:14:31 +01:00
|
|
|
/**
|
|
|
|
* @api
|
|
|
|
*/
|
2011-06-17 11:19:28 +01:00
|
|
|
function err($message, array $context = array());
|
2010-02-17 13:54:36 +00:00
|
|
|
|
2011-07-20 09:14:31 +01:00
|
|
|
/**
|
|
|
|
* @api
|
|
|
|
*/
|
2011-06-17 11:19:28 +01:00
|
|
|
function warn($message, array $context = array());
|
2010-02-17 13:54:36 +00:00
|
|
|
|
2011-07-20 09:14:31 +01:00
|
|
|
/**
|
|
|
|
* @api
|
|
|
|
*/
|
2011-06-17 11:19:28 +01:00
|
|
|
function notice($message, array $context = array());
|
2010-02-17 13:54:36 +00:00
|
|
|
|
2011-07-20 09:14:31 +01:00
|
|
|
/**
|
|
|
|
* @api
|
|
|
|
*/
|
2011-06-17 11:19:28 +01:00
|
|
|
function info($message, array $context = array());
|
2010-02-17 13:54:36 +00:00
|
|
|
|
2011-07-20 09:14:31 +01:00
|
|
|
/**
|
|
|
|
* @api
|
|
|
|
*/
|
2011-06-17 11:19:28 +01:00
|
|
|
function debug($message, array $context = array());
|
2010-02-17 13:54:36 +00:00
|
|
|
}
|