Thomas Landauer 4 лет назад
Родитель
Сommit
37ab9fc188
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      doc/message-structure.md

+ 1 - 1
doc/message-structure.md

@@ -6,7 +6,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".
-level      | int                       | Severity of the log message. See log levels described in [01-usage.md](01-usage.md).
+level      | int                       | Severity of the log message. See log levels described in [01-usage.md](01-usage.md#log-levels).
 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.
 channel    | string                    | The channel this message was logged to. This is the name that was passed when the logger was created with `new Logger($channel)`.