category Zend
package Zend_Log
subpackage Formatter
copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
version $Id: Simple.php 20096 2010-01-06 02:05:09Z bkarwin $

 Methods

Class constructor

__construct(null | string $format) 

Parameters

$format

nullstring

Format specifier for log messages

Exceptions

\Zend_Log_Exception

Formats data into a single line to be written by the writer.

format(array $event) : string

Parameters

$event

array

event data

Returns

stringformatted line to write to the log

 Properties

 

$_format

$_format : string

 Constants

 

DEFAULT_FORMAT

DEFAULT_FORMAT