Documentation

Class Phalcon\Logger\Formatter\Firephp

extends abstract class Phalcon\Logger\Formatter

implements Phalcon\Logger\FormatterInterface

Source on GitHub

Formats messages so that they can be sent to FirePHP

Methods

public string getTypeString (integer $type)

Returns the string meaning of a logger constant

public getShowBacktrace ()

...

public setShowBacktrace ([unknown $show])

...

public enableLabels ([unknown $enable])

...

public labelsEnabled ()

...

public string format (string $message, int $type, int $timestamp, array $context)

Applies a format to a message before sending it to the log

public Phalcon\Logger\Formatter setTypeStrings (array $types) inherited from Phalcon\Logger\Formatter

Sets the string meaning of a logger constant

public array getTypeStrings () inherited from Phalcon\Logger\Formatter

Returns the type strings

public Phalcon\Logger\Formatter setTypeString (string $type, string $name) inherited from Phalcon\Logger\Formatter

Sets the type strings

protected interpolate (string $message, array $context) inherited from Phalcon\Logger\Formatter

Interpolates context values into the message placeholders