HumHub Documentation (unofficial)

LogCommand extends ConsoleCommand
in package

Class LogCommand

Table of Contents

Properties

$colors  : array<string|int, mixed>
$logfile  : string
$options  : array<string|int, mixed>

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']

$options

protected array<string|int, mixed> $options = []

Methods

parseLine()

protected parseLine(mixed $line) : null|string
Parameters
$line : mixed
Return values
null|string

serve()

protected serve() : int|null|void
Return values
int|null|void

        
On this page

Search results