PHP Class Webiny\Component\Logger\Driver\Webiny\Handler\FileHandler

Inheritance: extends AbstractHandler
Show file Open project: Webiny/Framework

Public Methods

Method Description
__construct ( File $file, $levels = [], $bubble = true, $buffer = false )

Protected Methods

Method Description
getDefaultFormatter ( ) : AbstractFormatter Get default formatter for this handler
write ( Record $record ) : void Writes the record down to the log of the implementing handler

Method Details

__construct() public method

public __construct ( File $file, $levels = [], $bubble = true, $buffer = false )
$file Webiny\Component\Storage\File\File

getDefaultFormatter() protected method

Get default formatter for this handler
protected getDefaultFormatter ( ) : AbstractFormatter
return Webiny\Component\Logger\Driver\Webiny\Formatter\AbstractFormatter

write() protected method

Writes the record down to the log of the implementing handler
protected write ( Record $record ) : void
$record Webiny\Component\Logger\Driver\Webiny\Record
return void