$processors
$processors : array<mixed,callable>
Stores to any socket - uses fsockopen() or pfsockopen().
Classes extending it should (in most cases) only implement write($record)
setFormatter(\Monolog\Formatter\FormatterInterface $formatter)
{@inheritdoc}
| \Monolog\Formatter\FormatterInterface | $formatter |
__construct(string $connectionString, integer|string $level = \Monolog\Logger::DEBUG, boolean $bubble = true)
| string | $connectionString | Socket connection string |
| integer|string | $level | The minimum logging level at which this handler will be triggered |
| boolean | $bubble | Whether the messages that are handled can bubble up the stack or not |
isConnected()
Check to see if the socket is currently available.
UDP might appear to be connected but might fail when writing. See http://php.net/fsockopen for details.