Horde_Log_Formatter_Cli
in package
implements
Horde_Log_Formatter
Formatter for the command line interface using Horde_Cli.
Tags
Interfaces, Classes, Traits and Enums
Table of Contents
- $_cli : Horde_Cli
- A CLI handler.
- __construct() : mixed
- Constructor.
- format() : string
- Formats an event to be written by the handler.
Properties
$_cli
A CLI handler.
protected
Horde_Cli
$_cli
Methods
__construct()
Constructor.
public
__construct(Horde_Cli $cli) : mixed
Parameters
- $cli : Horde_Cli
-
A Horde_Cli instance.
Return values
mixed —format()
Formats an event to be written by the handler.
public
format(array<string|int, mixed> $event) : string
Parameters
- $event : array<string|int, mixed>
-
Log event.
Return values
string —Formatted line.