Documentation

Horde_ActiveSync_Log_Formatter
in package
implements Horde_Log_Formatter

Tags
copyright

2017 Horde LLC (http://www.horde.org/)

author

Michael J Rubinsky mrubinsk@horde.org

category

Horde

license

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

since
2.38.0

Interfaces, Classes, Traits and Enums

Horde_Log_Formatter

Table of Contents

$_format  : string
Format string.
$_levelMap  : mixed
format()  : string
Formats an event to be written by the handler.

Properties

$_format

Format string.

protected string $_format = '[%pid%][%timestamp%] %levelName%: %indent%'
Tags
todo

Log Device ID?

$_levelMap

protected mixed $_levelMap = array('CLIENT' => 'I', 'SERVER' => 'O', 'META' => '>>>')

Methods

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