|
@@ -14,8 +14,8 @@ abstract class AbstractLogger implements LoggerInterface
|
|
|
/**
|
|
|
* System is unusable.
|
|
|
*
|
|
|
- * @param string $message
|
|
|
- * @param array $context
|
|
|
+ * @param string $message
|
|
|
+ * @param mixed[] $context
|
|
|
*
|
|
|
* @return void
|
|
|
*/
|
|
@@ -30,8 +30,8 @@ abstract class AbstractLogger implements LoggerInterface
|
|
|
* Example: Entire website down, database unavailable, etc. This should
|
|
|
* trigger the SMS alerts and wake you up.
|
|
|
*
|
|
|
- * @param string $message
|
|
|
- * @param array $context
|
|
|
+ * @param string $message
|
|
|
+ * @param mixed[] $context
|
|
|
*
|
|
|
* @return void
|
|
|
*/
|
|
@@ -45,8 +45,8 @@ abstract class AbstractLogger implements LoggerInterface
|
|
|
*
|
|
|
* Example: Application component unavailable, unexpected exception.
|
|
|
*
|
|
|
- * @param string $message
|
|
|
- * @param array $context
|
|
|
+ * @param string $message
|
|
|
+ * @param mixed[] $context
|
|
|
*
|
|
|
* @return void
|
|
|
*/
|
|
@@ -59,8 +59,8 @@ abstract class AbstractLogger implements LoggerInterface
|
|
|
* Runtime errors that do not require immediate action but should typically
|
|
|
* be logged and monitored.
|
|
|
*
|
|
|
- * @param string $message
|
|
|
- * @param array $context
|
|
|
+ * @param string $message
|
|
|
+ * @param mixed[] $context
|
|
|
*
|
|
|
* @return void
|
|
|
*/
|
|
@@ -75,8 +75,8 @@ abstract class AbstractLogger implements LoggerInterface
|
|
|
* Example: Use of deprecated APIs, poor use of an API, undesirable things
|
|
|
* that are not necessarily wrong.
|
|
|
*
|
|
|
- * @param string $message
|
|
|
- * @param array $context
|
|
|
+ * @param string $message
|
|
|
+ * @param mixed[] $context
|
|
|
*
|
|
|
* @return void
|
|
|
*/
|
|
@@ -88,8 +88,8 @@ abstract class AbstractLogger implements LoggerInterface
|
|
|
/**
|
|
|
* Normal but significant events.
|
|
|
*
|
|
|
- * @param string $message
|
|
|
- * @param array $context
|
|
|
+ * @param string $message
|
|
|
+ * @param mixed[] $context
|
|
|
*
|
|
|
* @return void
|
|
|
*/
|
|
@@ -103,8 +103,8 @@ abstract class AbstractLogger implements LoggerInterface
|
|
|
*
|
|
|
* Example: User logs in, SQL logs.
|
|
|
*
|
|
|
- * @param string $message
|
|
|
- * @param array $context
|
|
|
+ * @param string $message
|
|
|
+ * @param mixed[] $context
|
|
|
*
|
|
|
* @return void
|
|
|
*/
|
|
@@ -116,8 +116,8 @@ abstract class AbstractLogger implements LoggerInterface
|
|
|
/**
|
|
|
* Detailed debug information.
|
|
|
*
|
|
|
- * @param string $message
|
|
|
- * @param array $context
|
|
|
+ * @param string $message
|
|
|
+ * @param mixed[] $context
|
|
|
*
|
|
|
* @return void
|
|
|
*/
|