Logger\Formatter

Abstract class Phalcon\Logger\Formatter

implements Phalcon\Logger\FormatterInterface

This is a base class for logger formatters

Methods

public string getTypeString (integer $type)

Returns the string meaning of a logger constant

protected interpolate (string $message, array $context)

Interpolates context values into the message placeholders

abstract public format (string $message, int $type, int $timestamp, array $context) inherited from Phalcon\Logger\FormatterInterface

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

© 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/2.0.0/api/Phalcon_Logger_Formatter.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部