Logger
class Logger extends Logger implements DebugLoggerInterface
Logger.
Methods
array
getLogs()
Returns an array of logs.
int
countErrors()
Returns the number of errors.
Details
at line line 27
array
getLogs()
Returns an array of logs.
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.
at line line 39
int
countErrors()
Returns the number of errors.