Documentation

Horde_Log_Formatter_Cli
in package
implements Horde_Log_Formatter

Formatter for the command line interface using Horde_Cli.

Tags
author

Jan Schneider jan@horde.org

category

Horde

license

http://www.horde.org/licenses/bsd BSD

subpackage

Formatters

Interfaces, Classes, Traits and Enums

Horde_Log_Formatter

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.

Search results