Logger\FormatterInterface::format

abstract public format (mixed $message, mixed $type, mixed $timestamp, [mixed $context]) ...

Logger\FormatterInterface

Source on GitHub Methods abstract public format (mixed $message, mixed $type, mixed $timestamp, [mixed $context]) ...

Logger\Formatter::interpolate

public interpolate (string $message, [array $context]) Interpolates context values into the message placeholders

Logger\Formatter::getTypeString

public getTypeString (mixed $type) Returns the string meaning of a logger constant

Logger\Formatter

implements Phalcon\Logger\FormatterInterface Source on GitHub This is a base class for logger formatters Methods public getTypeString (mixed $type) Returns the string meaning of a logger constant public interpolate (string $message, [array $context]) Interpolates context values into the message placeholders abstract public format (mixed $message, mixed $type, mixed $timestamp, [mixed $context]) inherited from Phalcon\Logger\FormatterInterface ...

Logger\Exception

extends class Phalcon\Exception implements Throwable Source on GitHub Methods final private Exception __clone () inherited from Exception Clone the exception public __construct ([string $message], [int $code], [Exception $previous]) inherited from Exception Exception constructor public __wakeup () inherited from Exception ... final public string getMessage () inherited from Exception Gets the Exception message final public int getCode () inherited from Exception Gets the Exception code fin

Logger\Adapter\Syslog::logInternal

public logInternal (string $message, int $type, int $time, array $context) Writes the log to the stream itself

Logger\Adapter\Syslog::getFormatter

public getFormatter () Returns the internal formatter

Logger\Adapter\Syslog::close

public close () Closes the logger

Logger\Adapter\Syslog

extends abstract class Phalcon\Logger\Adapter implements Phalcon\Logger\AdapterInterface Source on GitHub Sends logs to the system logger $logger = new \Phalcon\Logger\Adapter\Syslog("ident", array( 'option' => LOG_NDELAY, 'facility' => LOG_MAIL )); $logger->log("This is a message"); $logger->log(\Phalcon\Logger::ERROR, "This is an error"); $logger->error("This is another error"); Methods public __construct (string $name, [array $options]) Phalcon\Logger\Adapter\Syslog c