Просмотр исходного кода

Clarify NewRelicHandler requirements, closes #1123

Jordi Boggiano 7 лет назад
Родитель
Сommit
c465e11445
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/Monolog/Handler/NewRelicHandler.php

+ 2 - 0
src/Monolog/Handler/NewRelicHandler.php

@@ -18,6 +18,8 @@ use Monolog\Formatter\NormalizerFormatter;
  * Class to record a log on a NewRelic application.
  * Enabling New Relic High Security mode may prevent capture of useful information.
  *
+ * This handler requires a NormalizerFormatter to function and expects an array in $record['formatted']
+ *
  * @see https://docs.newrelic.com/docs/agents/php-agent
  * @see https://docs.newrelic.com/docs/accounts-partnerships/accounts/security/high-security
  */