Documentation

DebugProcessor
in package
implements DebugLoggerInterface, ResetInterface

Interfaces, Classes and Traits

DebugLoggerInterface
DebugLoggerInterface.
ResetInterface
Provides a way to reset an object to its initial state.

Table of Contents

$errorCount  : mixed
$records  : mixed
$requestStack  : mixed
__construct()  : mixed
__invoke()  : mixed
clear()  : mixed
Removes all log records.
countErrors()  : int
Returns the number of errors.
getLogs()  : array<string|int, mixed>
Returns an array of logs.
reset()  : mixed

Properties

Methods

__invoke()

public __invoke(array<string|int, mixed> $record) : mixed
Parameters
$record : array<string|int, mixed>
Return values
mixed

clear()

Removes all log records.

public clear() : mixed
Return values
mixed

countErrors()

Returns the number of errors.

public countErrors([Request|null $request = null ]) : int
Parameters
$request : Request|null = null
Return values
int

getLogs()

Returns an array of logs.

public getLogs([Request|null $request = null ]) : array<string|int, mixed>
Parameters
$request : Request|null = null
Return values
array<string|int, mixed>

Search results