Documentation

目次

前のトピックへ

< Class Phalcon\Logger\Formatter\Firephp

次のトピックへ

Class Phalcon\Logger\Formatter\Line >

このページ

Class Phalcon\Logger\Formatter\Json

extends abstract class Phalcon\Logger\Formatter

implements Phalcon\Logger\FormatterInterface

Formats messages using JSON encoding

Methods

public string 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