Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify type of 2nd argument context #74

Merged
merged 3 commits into from
May 3, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions Psr/Log/LoggerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ interface LoggerInterface
* System is unusable.
*
* @param string $message
* @param mixed[] $context
* @param array $context
*
* @return void
*/
Expand All @@ -36,7 +36,7 @@ public function emergency($message, array $context = array());
* trigger the SMS alerts and wake you up.
*
* @param string $message
* @param mixed[] $context
* @param array $context
*
* @return void
*/
Expand All @@ -48,7 +48,7 @@ public function alert($message, array $context = array());
* Example: Application component unavailable, unexpected exception.
*
* @param string $message
* @param mixed[] $context
* @param array $context
*
* @return void
*/
Expand All @@ -59,7 +59,7 @@ public function critical($message, array $context = array());
* be logged and monitored.
*
* @param string $message
* @param mixed[] $context
* @param array $context
*
* @return void
*/
Expand All @@ -72,7 +72,7 @@ public function error($message, array $context = array());
* that are not necessarily wrong.
*
* @param string $message
* @param mixed[] $context
* @param array $context
*
* @return void
*/
Expand All @@ -82,7 +82,7 @@ public function warning($message, array $context = array());
* Normal but significant events.
*
* @param string $message
* @param mixed[] $context
* @param array $context
*
* @return void
*/
Expand All @@ -94,7 +94,7 @@ public function notice($message, array $context = array());
* Example: User logs in, SQL logs.
*
* @param string $message
* @param mixed[] $context
* @param array $context
*
* @return void
*/
Expand All @@ -104,7 +104,7 @@ public function info($message, array $context = array());
* Detailed debug information.
*
* @param string $message
* @param mixed[] $context
* @param array $context
*
* @return void
*/
Expand All @@ -115,7 +115,7 @@ public function debug($message, array $context = array());
*
* @param mixed $level
* @param string $message
* @param mixed[] $context
* @param array $context
*
* @return void
*
Expand Down