FORMAT_HTML
FORMAT_HTML = 'html'
Handler sending logs to browser's javascript console with no browser extension required
$processors : callable[]
$formatter : ?\Monolog\Formatter\FormatterInterface
$level : int
$bubble : bool
$initialized : bool
$records : \Monolog\Handler\FormattedRecord[]
getDefaultFormatter() : \Monolog\Formatter\FormatterInterface
{@inheritDoc}
Formatted output may contain some formatting markers to be transferred to console.log
using the %c format.
Example of formatted string:
You can do [[blue text]]{color: blue} or [[green background]]{background-color: green; color: white}
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'