phpDocumentor

ConsoleLogHandler implements HandlerInterface

FinalYes

Table of Contents

Interfaces

HandlerInterface

Properties

$output  : OutputInterface|StyleInterface
$verbosityLevelMap  : array<string, int>

Methods

__construct()  : mixed
close()  : void
handle()  : bool
handleBatch()  : void
isHandling()  : bool

Properties

$verbosityLevelMap

private array<string, int> $verbosityLevelMap = [\Psr\Log\LogLevel::EMERGENCY => \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \Psr\Log\LogLevel::ALERT => \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \Psr\Log\LogLevel::CRITICAL => \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \Psr\Log\LogLevel::ERROR => \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \Psr\Log\LogLevel::WARNING => \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \Psr\Log\LogLevel::NOTICE => \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE, \Psr\Log\LogLevel::INFO => \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE, \Psr\Log\LogLevel::DEBUG => \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG]

Methods

__construct()

public __construct(OutputInterface|StyleInterface $output) : mixed
Parameters
$output : OutputInterface|StyleInterface

handle()

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

handleBatch()

public handleBatch(array<string|int, mixed> $records) : void
Parameters
$records : array<string|int, mixed>

isHandling()

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

        
On this page

Search results