2011-05-31 06:59:58 +01:00
|
|
|
<?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 Symfony\Component\HttpKernel\Log\LoggerInterface;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* NullLogger.
|
|
|
|
*
|
|
|
|
* @author Fabien Potencier <fabien@symfony.com>
|
2011-07-20 09:14:31 +01:00
|
|
|
*
|
|
|
|
* @api
|
2011-05-31 06:59:58 +01:00
|
|
|
*/
|
|
|
|
class NullLogger implements LoggerInterface
|
|
|
|
{
|
2013-01-08 22:26:48 +00:00
|
|
|
/**
|
|
|
|
* @api
|
|
|
|
*/
|
|
|
|
public function log($level, $message, array $context = array())
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2011-07-20 09:14:31 +01:00
|
|
|
/**
|
|
|
|
* @api
|
|
|
|
*/
|
2011-12-13 07:50:54 +00:00
|
|
|
public function emerg($message, array $context = array())
|
|
|
|
{
|
|
|
|
}
|
2011-05-31 06:59:58 +01:00
|
|
|
|
2013-01-08 22:26:48 +00:00
|
|
|
/**
|
|
|
|
* @api
|
|
|
|
*/
|
|
|
|
public function emergency($message, array $context = array())
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2011-07-20 09:14:31 +01:00
|
|
|
/**
|
|
|
|
* @api
|
|
|
|
*/
|
2011-12-13 07:50:54 +00:00
|
|
|
public function alert($message, array $context = array())
|
|
|
|
{
|
|
|
|
}
|
2011-05-31 06:59:58 +01:00
|
|
|
|
2011-07-20 09:14:31 +01:00
|
|
|
/**
|
|
|
|
* @api
|
|
|
|
*/
|
2011-12-13 07:50:54 +00:00
|
|
|
public function crit($message, array $context = array())
|
|
|
|
{
|
|
|
|
}
|
2011-05-31 06:59:58 +01:00
|
|
|
|
2013-01-08 22:26:48 +00:00
|
|
|
/**
|
|
|
|
* @api
|
|
|
|
*/
|
|
|
|
public function critical($message, array $context = array())
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2011-07-20 09:14:31 +01:00
|
|
|
/**
|
|
|
|
* @api
|
|
|
|
*/
|
2011-12-13 07:50:54 +00:00
|
|
|
public function err($message, array $context = array())
|
|
|
|
{
|
|
|
|
}
|
2011-05-31 06:59:58 +01:00
|
|
|
|
2013-01-08 22:26:48 +00:00
|
|
|
/**
|
|
|
|
* @api
|
|
|
|
*/
|
|
|
|
public function error($message, array $context = array())
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2011-07-20 09:14:31 +01:00
|
|
|
/**
|
|
|
|
* @api
|
|
|
|
*/
|
2011-12-13 07:50:54 +00:00
|
|
|
public function warn($message, array $context = array())
|
|
|
|
{
|
|
|
|
}
|
2011-05-31 06:59:58 +01:00
|
|
|
|
2013-01-08 22:26:48 +00:00
|
|
|
/**
|
|
|
|
* @api
|
|
|
|
*/
|
|
|
|
public function warning($message, array $context = array())
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2011-07-20 09:14:31 +01:00
|
|
|
/**
|
|
|
|
* @api
|
|
|
|
*/
|
2011-12-13 07:50:54 +00:00
|
|
|
public function notice($message, array $context = array())
|
|
|
|
{
|
|
|
|
}
|
2011-05-31 06:59:58 +01:00
|
|
|
|
2011-07-20 09:14:31 +01:00
|
|
|
/**
|
|
|
|
* @api
|
|
|
|
*/
|
2011-12-13 07:50:54 +00:00
|
|
|
public function info($message, array $context = array())
|
|
|
|
{
|
|
|
|
}
|
2011-05-31 06:59:58 +01:00
|
|
|
|
2011-07-20 09:14:31 +01:00
|
|
|
/**
|
|
|
|
* @api
|
|
|
|
*/
|
2011-12-13 07:50:54 +00:00
|
|
|
public function debug($message, array $context = array())
|
|
|
|
{
|
|
|
|
}
|
2011-05-31 06:59:58 +01:00
|
|
|
}
|