1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-21 00:26:10 +02:00

Rename level_num to monolog_level, refs #960

This commit is contained in:
Jordi Boggiano
2017-06-18 23:58:15 +02:00
parent 56661027a7
commit b76bc133db
2 changed files with 2 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ class LogstashFormatter extends NormalizerFormatter
$message['level'] = $record['level_name'];
}
if (isset($record['level'])) {
$message['level_num'] = $record['level'];
$message['monolog_level'] = $record['level'];
}
if ($this->applicationName) {
$message['type'] = $this->applicationName;