44 throw new InvalidArgumentException(
'Invalid publisher, expected a Gelf\Publisher, Gelf\IMessagePublisher or Gelf\PublisherInterface instance');
55 $this->publisher = null;
63 $this->publisher->publish($record[
'formatted']);
const DEBUG
Detailed debug information.
Base Handler class providing the Handler structure.
Handler to send messages to a Graylog2 (http://www.graylog2.org) server.
Create styles array
The data for the language used.
__construct($publisher, $level=Logger::DEBUG, $bubble=true)