|
|
|
@ -39,7 +39,7 @@ interface ILogger { |
|
|
|
|
* @return null |
|
|
|
|
* @since 7.0.0 |
|
|
|
|
*/ |
|
|
|
|
function emergency($message, array $context = array()); |
|
|
|
|
public function emergency($message, array $context = array()); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Action must be taken immediately. |
|
|
|
@ -49,7 +49,7 @@ interface ILogger { |
|
|
|
|
* @return null |
|
|
|
|
* @since 7.0.0 |
|
|
|
|
*/ |
|
|
|
|
function alert($message, array $context = array()); |
|
|
|
|
public function alert($message, array $context = array()); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Critical conditions. |
|
|
|
@ -59,7 +59,7 @@ interface ILogger { |
|
|
|
|
* @return null |
|
|
|
|
* @since 7.0.0 |
|
|
|
|
*/ |
|
|
|
|
function critical($message, array $context = array()); |
|
|
|
|
public function critical($message, array $context = array()); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Runtime errors that do not require immediate action but should typically |
|
|
|
@ -70,7 +70,7 @@ interface ILogger { |
|
|
|
|
* @return null |
|
|
|
|
* @since 7.0.0 |
|
|
|
|
*/ |
|
|
|
|
function error($message, array $context = array()); |
|
|
|
|
public function error($message, array $context = array()); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Exceptional occurrences that are not errors. |
|
|
|
@ -80,7 +80,7 @@ interface ILogger { |
|
|
|
|
* @return null |
|
|
|
|
* @since 7.0.0 |
|
|
|
|
*/ |
|
|
|
|
function warning($message, array $context = array()); |
|
|
|
|
public function warning($message, array $context = array()); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Normal but significant events. |
|
|
|
@ -90,7 +90,7 @@ interface ILogger { |
|
|
|
|
* @return null |
|
|
|
|
* @since 7.0.0 |
|
|
|
|
*/ |
|
|
|
|
function notice($message, array $context = array()); |
|
|
|
|
public function notice($message, array $context = array()); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Interesting events. |
|
|
|
@ -100,7 +100,7 @@ interface ILogger { |
|
|
|
|
* @return null |
|
|
|
|
* @since 7.0.0 |
|
|
|
|
*/ |
|
|
|
|
function info($message, array $context = array()); |
|
|
|
|
public function info($message, array $context = array()); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Detailed debug information. |
|
|
|
@ -110,7 +110,7 @@ interface ILogger { |
|
|
|
|
* @return null |
|
|
|
|
* @since 7.0.0 |
|
|
|
|
*/ |
|
|
|
|
function debug($message, array $context = array()); |
|
|
|
|
public function debug($message, array $context = array()); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Logs with an arbitrary level. |
|
|
|
@ -121,5 +121,5 @@ interface ILogger { |
|
|
|
|
* @return mixed |
|
|
|
|
* @since 7.0.0 |
|
|
|
|
*/ |
|
|
|
|
function log($level, $message, array $context = array()); |
|
|
|
|
public function log($level, $message, array $context = array()); |
|
|
|
|
} |
|
|
|
|