Tabla de Contenidos

Tema anterior

< Class Phalcon\Logger\Formatter\Line

Próximo tema

Class Phalcon\Logger\Item >

Esta página

Class Phalcon\Logger\Formatter\Syslog

extends Phalcon\Logger\Formatter

implements Phalcon\Logger\FormatterInterface

Prepares a message to be used in a Syslog backend


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

Applies a format to a message before sent it to the internal log

public string getTypeString (integer $type) inherited from Phalcon\Logger\Formatter

Returns the string meaning of a logger constant