PHP Class Clockwork\Request\Log

Inheritance: extends Psr\Log\AbstractLogger
Mostra file Open project: itsgoingd/clockwork

Public Properties

Property Type Description
$data Array of log messages, with level and timestamp

Public Methods

Method Description
log ( $level = LogLevel::INFO, $message, array $context = [] ) Add a new timestamped message, with an optional level
toArray ( ) Return log data as an array

Method Details

log() public method

Add a new timestamped message, with an optional level
public log ( $level = LogLevel::INFO, $message, array $context = [] )
$context array

toArray() public method

Return log data as an array
public toArray ( )

Property Details

$data public_oe property

Array of log messages, with level and timestamp
public $data