\Horde_Log_Formatter_Simple

Summary

Methods
Properties
Constants
__construct()
format()
No public properties found
No constants found
No protected methods found
$_format
N/A
No private methods found
No private properties found
N/A

Properties

$_format

$_format : string

Format string.

Type

string

Methods

__construct()

__construct(array  $options = null) 

Constructor.

Parameters

array $options

Configuration options:

'format' - (string) The log template.

Throws

\InvalidArgumentException

format()

format(array  $event) : string

Formats an event to be written by the handler.

Parameters

array $event

Log event.

Returns

string —

Formatted line.