PHP Class Logentries\Handler\LogentriesHandler

Inheritance: extends Monolog\Handler\AbstractProcessingHandler
Datei anzeigen Open project: logentries/logentries-monolog-handler

Public Methods

Method Description
__construct ( string $token, integer $level = Logger::DEBUG, boolean $bubble = true, Socket $socket = null )
close ( )

Protected Methods

Method Description
write ( array $record )

Private Methods

Method Description
generateDataStream ( array $record )

Method Details

__construct() public method

public __construct ( string $token, integer $level = Logger::DEBUG, boolean $bubble = true, Socket $socket = null )
$token string Token UUID for Logentries logfile
$level integer The minimum logging level at which this handler will be triggered
$bubble boolean Whether the messages that are handled can bubble up the stack or not
$socket Logentries\Socket

close() public method

public close ( )

write() protected method

protected write ( array $record )
$record array