DebugLoggerInterface::countErrors()

int countErrors() Returns the number of errors. Return Value int The number of errors

DebugLoggerInterface

interface DebugLoggerInterface DebugLoggerInterface. Methods array getLogs() Returns an array of logs. int countErrors() Returns the number of errors. Details 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. Return Value array An array of logs int countEr

DebugLoggerInterface::getLogs()

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. Return Value array An array of logs

DebugHandlersListener

class DebugHandlersListener implements EventSubscriberInterface Configures errors and exceptions handlers. Methods __construct(callable $exceptionHandler = null, LoggerInterface $logger = null, array|int $levels = E_ALL, int|null $throwAt = E_ALL, bool $scream = true, string $fileLinkFormat = null) configure(Event $event = null) Configures the error handler. static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. Details

DebuggerInterface deprecated

interface DebuggerInterface deprecated since version 2.4, to be removed in 3.0. Use Psr\Log\LoggerInterface instead. DebuggerInterface is the interface you need to implement to debug template loader instances. Methods log(string $message) Logs a message. Details log(string $message) Logs a message. Parameters string $message A message to log

DebugHandler::countErrors()

int countErrors() Returns the number of errors. Return Value int The number of errors

Debugger deprecated

class Debugger implements DebuggerInterface deprecated since version 2.4, to be removed in 3.0. Use Psr\Log\LoggerInterface instead. Binds the Symfony templating loader debugger to the Symfony logger. Methods __construct(LoggerInterface $logger = null) Constructor. log(string $message) Logs a message. Details __construct(LoggerInterface $logger = null) Constructor. Parameters LoggerInterface $logger A LoggerInterface instance

DebugHandler

class DebugHandler extends TestHandler implements DebugLoggerInterface DebugLogger. Methods array getLogs() Returns an array of logs. int countErrors() Returns the number of errors. Details 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. Return Value array An array of logs

DebugHandler::getLogs()

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. Return Value array An array of logs

DebugFormatterHelper::stop()

string stop(string $id, string $message, bool $successful, string $prefix = 'RES') Stops a formatting session. Parameters string $id The id of the formatting session string $message The message to display bool $successful Whether to consider the result as success string $prefix The prefix for the end output Return Value string