update 1.0.8.0

Commits for version update
This commit is contained in:
Manish Verma
2016-10-17 12:02:27 +05:30
parent dec927987b
commit 76e85db070
9674 changed files with 495757 additions and 58922 deletions

View File

@@ -3,14 +3,14 @@
namespace Psr\Log;
/**
* Describes a logger instance
* Describes a logger instance.
*
* The message MUST be a string or object implementing __toString().
*
* The message MAY contain placeholders in the form: {foo} where foo
* will be replaced by the context data in key "foo".
*
* The context array can contain arbitrary data, the only assumption that
* The context array can contain arbitrary data. The only assumption that
* can be made by implementors is that if an Exception instance is given
* to produce a stack trace, it MUST be in a key named "exception".
*
@@ -23,7 +23,8 @@ interface LoggerInterface
* System is unusable.
*
* @param string $message
* @param array $context
* @param array $context
*
* @return null
*/
public function emergency($message, array $context = array());
@@ -35,7 +36,8 @@ interface LoggerInterface
* trigger the SMS alerts and wake you up.
*
* @param string $message
* @param array $context
* @param array $context
*
* @return null
*/
public function alert($message, array $context = array());
@@ -46,7 +48,8 @@ interface LoggerInterface
* Example: Application component unavailable, unexpected exception.
*
* @param string $message
* @param array $context
* @param array $context
*
* @return null
*/
public function critical($message, array $context = array());
@@ -56,7 +59,8 @@ interface LoggerInterface
* be logged and monitored.
*
* @param string $message
* @param array $context
* @param array $context
*
* @return null
*/
public function error($message, array $context = array());
@@ -68,7 +72,8 @@ interface LoggerInterface
* that are not necessarily wrong.
*
* @param string $message
* @param array $context
* @param array $context
*
* @return null
*/
public function warning($message, array $context = array());
@@ -77,7 +82,8 @@ interface LoggerInterface
* Normal but significant events.
*
* @param string $message
* @param array $context
* @param array $context
*
* @return null
*/
public function notice($message, array $context = array());
@@ -88,7 +94,8 @@ interface LoggerInterface
* Example: User logs in, SQL logs.
*
* @param string $message
* @param array $context
* @param array $context
*
* @return null
*/
public function info($message, array $context = array());
@@ -97,7 +104,8 @@ interface LoggerInterface
* Detailed debug information.
*
* @param string $message
* @param array $context
* @param array $context
*
* @return null
*/
public function debug($message, array $context = array());
@@ -105,9 +113,10 @@ interface LoggerInterface
/**
* Logs with an arbitrary level.
*
* @param mixed $level
* @param mixed $level
* @param string $message
* @param array $context
* @param array $context
*
* @return null
*/
public function log($level, $message, array $context = array());