$processors
$processors : array<mixed,callable>
Handler sending logs to browser's javascript console with no browser extension required
Classes extending it should (in most cases) only implement write($record)
setFormatter(\Monolog\Formatter\FormatterInterface $formatter)
{@inheritdoc}
| \Monolog\Formatter\FormatterInterface | $formatter |
getResponseFormat() : string
Checks the format of the response
If Content-Type is set to application/javascript or text/javascript -> js If Content-Type is set to text/html, or is unset -> html If Content-Type is anything else -> unknown
One of 'js', 'html' or 'unknown'