PHP Class Jarves\Logger\JarvesHandler

Inheritance: extends Monolog\Handler\AbstractProcessingHandler
Afficher le fichier Open project: jarves/jarves Class Usage Examples

Protected Properties

Свойство Type Description
$counts array
$inSaving boolean
$logRequest
$logs array

Méthodes publiques

Méthode 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 )

Méthodes protégées

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

Method Details

__construct() public méthode

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

getCounts() public méthode

public getCounts ( ) : array
Résultat array

getLogRequest() public méthode

public getLogRequest ( ) : Jarves\Model\LogRequest
Résultat Jarves\Model\LogRequest

getLogs() public méthode

public getLogs ( ) : array
Résultat array

resetLogRequest() public méthode

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

setCounts() public méthode

public setCounts ( array $counts )
$counts array

setLogs() public méthode

public setLogs ( array $logs )
$logs array

write() protected méthode

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

Property Details

$counts protected_oe property

protected array $counts
Résultat array

$inSaving protected_oe property

protected bool $inSaving
Résultat boolean

$logRequest protected_oe property

protected $logRequest

$logs protected_oe property

protected array $logs
Résultat array