LoggerInterface.
@author Fabien Potencier <fabien@symfony.com>
@api
Expanded class hierarchy of LoggerInterface
All classes that implement LoggerInterface
since 2.2, to be removed in 3.0. Type-hint \Psr\Log\LoggerInterface instead.
interface LoggerInterface extends PsrLogger {
/**
* @api
* @deprecated since 2.2, to be removed in 3.0. Use emergency() which is PSR-3 compatible.
*/
public function emerg($message, array $context = array());
/**
* @api
* @deprecated since 2.2, to be removed in 3.0. Use critical() which is PSR-3 compatible.
*/
public function crit($message, array $context = array());
/**
* @api
* @deprecated since 2.2, to be removed in 3.0. Use error() which is PSR-3 compatible.
*/
public function err($message, array $context = array());
/**
* @api
* @deprecated since 2.2, to be removed in 3.0. Use warning() which is PSR-3 compatible.
*/
public function warn($message, array $context = array());
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LoggerInterface:: |
public | function | @api | 1 |
LoggerInterface:: |
public | function | @api | 1 |
LoggerInterface:: |
public | function | @api | 1 |
LoggerInterface:: |
public | function | @api | 1 |
LoggerInterface:: |
public | function | System is unusable. | 2 |
LoggerInterface:: |
public | function | Action must be taken immediately. | 2 |
LoggerInterface:: |
public | function | Critical conditions. | 2 |
LoggerInterface:: |
public | function | Runtime errors that do not require immediate action but should typically be logged and monitored. | 2 |
LoggerInterface:: |
public | function | Exceptional occurrences that are not errors. | 2 |
LoggerInterface:: |
public | function | Normal but significant events. | 2 |
LoggerInterface:: |
public | function | Interesting events. | 2 |
LoggerInterface:: |
public | function | Detailed debug information. | 2 |
LoggerInterface:: |
public | function | Logs with an arbitrary level. | 2 |