PHP Class Jarves\Logger\JarvesHandler

Inheritance: extends Monolog\Handler\AbstractProcessingHandler
显示文件 Open project: jarves/jarves Class Usage Examples

Protected Properties

Property Type Description
$counts array
$inSaving boolean
$logRequest
$logs array

Public Methods

Method Description
__construct ( PageStack $pageStack )
getCounts ( ) : array
getLogRequest ( ) : Jarves\Model\LogRequest
getLogs ( ) : array
resetLogRequest ( ) Resets the current LogRequest. Needed after each request.
setCounts ( array $counts )
setLogs ( array $logs )

Protected Methods

Method Description
write ( array $record ) : void Writes the record down to the log of the implementing handler

Method Details

__construct() public method

public __construct ( PageStack $pageStack )
$pageStack Jarves\PageStack

getCounts() public method

public getCounts ( ) : array
return array

getLogRequest() public method

public getLogRequest ( ) : Jarves\Model\LogRequest
return Jarves\Model\LogRequest

getLogs() public method

public getLogs ( ) : array
return array

resetLogRequest() public method

Resets the current LogRequest. Needed after each request.
public resetLogRequest ( )

setCounts() public method

public setCounts ( array $counts )
$counts array

setLogs() public method

public setLogs ( array $logs )
$logs array

write() protected method

Writes the record down to the log of the implementing handler
protected write ( array $record ) : void
$record array
return void

Property Details

$counts protected_oe property

protected array $counts
return array

$inSaving protected_oe property

protected bool $inSaving
return boolean

$logRequest protected_oe property

protected $logRequest

$logs protected_oe property

protected array $logs
return array