FileAccess Orion

DebugLoggerInterface

DebugLoggerInterface.

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

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

Methods

countErrors()

Returns the number of errors.

public countErrors() : int
Return values
int

The number of errors

getLogs()

Returns an array of logs.

public getLogs() : array<string|int, mixed>

A log is an array with the following mandatory keys: timestamp, message, priority, and priorityName. It can also have an optional context key containing an array.

Return values
array<string|int, mixed>

An array of logs

Search results