|
|
|
@@ -347,9 +347,9 @@ class Logger implements LoggerInterface
|
|
|
|
|
/**
|
|
|
|
|
* Adds a log record at the DEBUG level.
|
|
|
|
|
*
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return Boolean Whether the record has been processed
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return bool Whether the record has been processed
|
|
|
|
|
*/
|
|
|
|
|
public function addDebug($message, array $context = array())
|
|
|
|
|
{
|
|
|
|
@@ -359,9 +359,9 @@ class Logger implements LoggerInterface
|
|
|
|
|
/**
|
|
|
|
|
* Adds a log record at the INFO level.
|
|
|
|
|
*
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return Boolean Whether the record has been processed
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return bool Whether the record has been processed
|
|
|
|
|
*/
|
|
|
|
|
public function addInfo($message, array $context = array())
|
|
|
|
|
{
|
|
|
|
@@ -371,9 +371,9 @@ class Logger implements LoggerInterface
|
|
|
|
|
/**
|
|
|
|
|
* Adds a log record at the NOTICE level.
|
|
|
|
|
*
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return Boolean Whether the record has been processed
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return bool Whether the record has been processed
|
|
|
|
|
*/
|
|
|
|
|
public function addNotice($message, array $context = array())
|
|
|
|
|
{
|
|
|
|
@@ -383,9 +383,9 @@ class Logger implements LoggerInterface
|
|
|
|
|
/**
|
|
|
|
|
* Adds a log record at the WARNING level.
|
|
|
|
|
*
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return Boolean Whether the record has been processed
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return bool Whether the record has been processed
|
|
|
|
|
*/
|
|
|
|
|
public function addWarning($message, array $context = array())
|
|
|
|
|
{
|
|
|
|
@@ -395,9 +395,9 @@ class Logger implements LoggerInterface
|
|
|
|
|
/**
|
|
|
|
|
* Adds a log record at the ERROR level.
|
|
|
|
|
*
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return Boolean Whether the record has been processed
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return bool Whether the record has been processed
|
|
|
|
|
*/
|
|
|
|
|
public function addError($message, array $context = array())
|
|
|
|
|
{
|
|
|
|
@@ -407,9 +407,9 @@ class Logger implements LoggerInterface
|
|
|
|
|
/**
|
|
|
|
|
* Adds a log record at the CRITICAL level.
|
|
|
|
|
*
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return Boolean Whether the record has been processed
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return bool Whether the record has been processed
|
|
|
|
|
*/
|
|
|
|
|
public function addCritical($message, array $context = array())
|
|
|
|
|
{
|
|
|
|
@@ -419,9 +419,9 @@ class Logger implements LoggerInterface
|
|
|
|
|
/**
|
|
|
|
|
* Adds a log record at the ALERT level.
|
|
|
|
|
*
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return Boolean Whether the record has been processed
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return bool Whether the record has been processed
|
|
|
|
|
*/
|
|
|
|
|
public function addAlert($message, array $context = array())
|
|
|
|
|
{
|
|
|
|
@@ -431,9 +431,9 @@ class Logger implements LoggerInterface
|
|
|
|
|
/**
|
|
|
|
|
* Adds a log record at the EMERGENCY level.
|
|
|
|
|
*
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return Boolean Whether the record has been processed
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return bool Whether the record has been processed
|
|
|
|
|
*/
|
|
|
|
|
public function addEmergency($message, array $context = array())
|
|
|
|
|
{
|
|
|
|
@@ -507,9 +507,9 @@ class Logger implements LoggerInterface
|
|
|
|
|
* This method allows for compatibility with common interfaces.
|
|
|
|
|
*
|
|
|
|
|
* @param mixed $level The log level
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return Boolean Whether the record has been processed
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return bool Whether the record has been processed
|
|
|
|
|
*/
|
|
|
|
|
public function log($level, $message, array $context = array())
|
|
|
|
|
{
|
|
|
|
@@ -523,9 +523,9 @@ class Logger implements LoggerInterface
|
|
|
|
|
*
|
|
|
|
|
* This method allows for compatibility with common interfaces.
|
|
|
|
|
*
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return Boolean Whether the record has been processed
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return bool Whether the record has been processed
|
|
|
|
|
*/
|
|
|
|
|
public function debug($message, array $context = array())
|
|
|
|
|
{
|
|
|
|
@@ -537,9 +537,9 @@ class Logger implements LoggerInterface
|
|
|
|
|
*
|
|
|
|
|
* This method allows for compatibility with common interfaces.
|
|
|
|
|
*
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return Boolean Whether the record has been processed
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return bool Whether the record has been processed
|
|
|
|
|
*/
|
|
|
|
|
public function info($message, array $context = array())
|
|
|
|
|
{
|
|
|
|
@@ -551,9 +551,9 @@ class Logger implements LoggerInterface
|
|
|
|
|
*
|
|
|
|
|
* This method allows for compatibility with common interfaces.
|
|
|
|
|
*
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return Boolean Whether the record has been processed
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return bool Whether the record has been processed
|
|
|
|
|
*/
|
|
|
|
|
public function notice($message, array $context = array())
|
|
|
|
|
{
|
|
|
|
@@ -565,9 +565,9 @@ class Logger implements LoggerInterface
|
|
|
|
|
*
|
|
|
|
|
* This method allows for compatibility with common interfaces.
|
|
|
|
|
*
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return Boolean Whether the record has been processed
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return bool Whether the record has been processed
|
|
|
|
|
*/
|
|
|
|
|
public function warn($message, array $context = array())
|
|
|
|
|
{
|
|
|
|
@@ -579,9 +579,9 @@ class Logger implements LoggerInterface
|
|
|
|
|
*
|
|
|
|
|
* This method allows for compatibility with common interfaces.
|
|
|
|
|
*
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return Boolean Whether the record has been processed
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return bool Whether the record has been processed
|
|
|
|
|
*/
|
|
|
|
|
public function warning($message, array $context = array())
|
|
|
|
|
{
|
|
|
|
@@ -593,9 +593,9 @@ class Logger implements LoggerInterface
|
|
|
|
|
*
|
|
|
|
|
* This method allows for compatibility with common interfaces.
|
|
|
|
|
*
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return Boolean Whether the record has been processed
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return bool Whether the record has been processed
|
|
|
|
|
*/
|
|
|
|
|
public function err($message, array $context = array())
|
|
|
|
|
{
|
|
|
|
@@ -607,9 +607,9 @@ class Logger implements LoggerInterface
|
|
|
|
|
*
|
|
|
|
|
* This method allows for compatibility with common interfaces.
|
|
|
|
|
*
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return Boolean Whether the record has been processed
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return bool Whether the record has been processed
|
|
|
|
|
*/
|
|
|
|
|
public function error($message, array $context = array())
|
|
|
|
|
{
|
|
|
|
@@ -621,9 +621,9 @@ class Logger implements LoggerInterface
|
|
|
|
|
*
|
|
|
|
|
* This method allows for compatibility with common interfaces.
|
|
|
|
|
*
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return Boolean Whether the record has been processed
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return bool Whether the record has been processed
|
|
|
|
|
*/
|
|
|
|
|
public function crit($message, array $context = array())
|
|
|
|
|
{
|
|
|
|
@@ -635,9 +635,9 @@ class Logger implements LoggerInterface
|
|
|
|
|
*
|
|
|
|
|
* This method allows for compatibility with common interfaces.
|
|
|
|
|
*
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return Boolean Whether the record has been processed
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return bool Whether the record has been processed
|
|
|
|
|
*/
|
|
|
|
|
public function critical($message, array $context = array())
|
|
|
|
|
{
|
|
|
|
@@ -649,9 +649,9 @@ class Logger implements LoggerInterface
|
|
|
|
|
*
|
|
|
|
|
* This method allows for compatibility with common interfaces.
|
|
|
|
|
*
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return Boolean Whether the record has been processed
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return bool Whether the record has been processed
|
|
|
|
|
*/
|
|
|
|
|
public function alert($message, array $context = array())
|
|
|
|
|
{
|
|
|
|
@@ -663,9 +663,9 @@ class Logger implements LoggerInterface
|
|
|
|
|
*
|
|
|
|
|
* This method allows for compatibility with common interfaces.
|
|
|
|
|
*
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return Boolean Whether the record has been processed
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return bool Whether the record has been processed
|
|
|
|
|
*/
|
|
|
|
|
public function emerg($message, array $context = array())
|
|
|
|
|
{
|
|
|
|
@@ -677,9 +677,9 @@ class Logger implements LoggerInterface
|
|
|
|
|
*
|
|
|
|
|
* This method allows for compatibility with common interfaces.
|
|
|
|
|
*
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return Boolean Whether the record has been processed
|
|
|
|
|
* @param string $message The log message
|
|
|
|
|
* @param array $context The log context
|
|
|
|
|
* @return bool Whether the record has been processed
|
|
|
|
|
*/
|
|
|
|
|
public function emergency($message, array $context = array())
|
|
|
|
|
{
|
|
|
|
|