LogCommand
extends ConsoleCommand
in package
Class LogCommand
Table of Contents
Properties
Methods
- configure() : mixed
- parseLine() : null|string
- serve() : int|null|void
Properties
$colors
protected
array<string|int, mixed>
$colors
= ['DEBUG' => 'green', 'INFO' => 'cyan', 'NOTICE' => 'yellow', 'WARNING' => 'yellow', 'ERROR' => 'red', 'CRITICAL' => 'red', 'ALERT' => 'red', 'EMERGENCY' => 'magenta']
$logfile
protected
string
$logfile
$options
protected
array<string|int, mixed>
$options
= []
Methods
configure()
protected
configure() : mixed
parseLine()
protected
parseLine(mixed $line) : null|string
Parameters
- $line : mixed
Return values
null|stringserve()
protected
serve() : int|null|void