Documentation

CliFormatter
in package
implements LogFormatter

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

LogFormatter

Table of Contents

$cli  : Horde_Cli
A CLI handler.
__construct()  : mixed
Constructor.
format()  : string
Formats an event to be written by the handler.

Properties

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(LogMessage $event) : string
Parameters
$event : LogMessage

Log event.

Return values
string

Formatted line.

Search results