1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 13:16:39 +02:00

Merge pull request #1071 from kalifg/patch-1

Fix typo
This commit is contained in:
Jordi Boggiano
2018-06-07 17:34:51 +02:00
committed by GitHub

View File

@@ -5,7 +5,7 @@ The table below describes which keys are always available for every log message.
key | type | description
-----------|---------------------------|-------------------------------------------------------------------------------
message | string | The log message. When the `PsrLogMessageProcessor` is used this string may contain placeholders that will be replaced by variables from the context, e.g., "User %username% logged in" with `['username' => 'John']` as context will be written as "User John logged in".
message | string | The log message. When the `PsrLogMessageProcessor` is used this string may contain placeholders that will be replaced by variables from the context, e.g., "User {username} logged in" with `['username' => 'John']` as context will be written as "User John logged in".
level | int | Severity of the log message. See log levels described in [01-usage.md](01-usage.md).
level_name | string | String representation of log level.
context | array | Arbitrary data passed with the construction of the message. For example the username of the current user or their IP address.