Horde_Log_Formatter_Simple
in package
implements
Horde_Log_Formatter
Tags
Interfaces, Classes, Traits and Enums
Table of Contents
- $_format : string
- Format string.
- __construct() : mixed
- Constructor.
- format() : string
- Formats an event to be written by the handler.
Properties
$_format
Format string.
protected
string
$_format
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $options = null ]) : mixed
Parameters
- $options : array<string|int, mixed> = null
-
Configuration options:
'format' - (string) The log template.
Tags
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.