Table Of ContentsPrevious topic< Class Phalcon\Logger\Adapter\File Next topic |
Class Phalcon\Logger\Adapter\Firephp¶extends abstract class Phalcon\Logger\Adapter implements Phalcon\Logger\AdapterInterface Sends logs to FirePHP <?php
$logger = new \Phalcon\Logger\Adapter\Firephp("");
$logger->log("This is a message");
$logger->log("This is an error", \Phalcon\Logger::ERROR);
$logger->error("This is another error");
Methods¶public Phalcon\Logger\FormatterInterface getFormatter () Returns the internal formatter protected logInternal (string $message, int $type, int $time, array $context) Writes the log to the stream itself public boolean close () Closes the logger public Phalcon\Logger\Adapter setLogLevel (int $level) inherited from Phalcon\Logger\Adapter Filters the logs sent to the handlers that are less or equal than a specific level public int getLogLevel () inherited from Phalcon\Logger\Adapter Returns the current log level public Phalcon\Logger\Adapter setFormatter (Phalcon\Logger\FormatterInterface $formatter) inherited from Phalcon\Logger\Adapter Sets the message formatter public Phalcon\Logger\Adapter isTransaction () inherited from Phalcon\Logger\Adapter Returns the current transaction public Phalcon\Logger\Adapter begin () inherited from Phalcon\Logger\Adapter Starts a transaction public Phalcon\Logger\Adapter commit () inherited from Phalcon\Logger\Adapter Commits the internal transaction public Phalcon\Logger\Adapter rollback () inherited from Phalcon\Logger\Adapter Rollbacks the internal transaction public emergence (unknown $message, [unknown $context]) inherited from Phalcon\Logger\Adapter ... public Phalcon\Logger\Adapter log (unknown $type, string $message, [array $context]) inherited from Phalcon\Logger\Adapter Logs messages to the internal logger. Appends messages to the log public Phalcon\Logger\AdapterInterface debug (string $message, [array $context]) inherited from Phalcon\Logger\Adapter Sends/Writes a debug message to the log public Phalcon\Logger\AdapterInterface info (string $message, [array $context]) inherited from Phalcon\Logger\Adapter Sends/Writes an info message to the log public Phalcon\Logger\AdapterInterface notice (string $message, [array $context]) inherited from Phalcon\Logger\Adapter Sends/Writes a notice message to the log public Phalcon\Logger\AdapterInterface warning (string $message, [array $context]) inherited from Phalcon\Logger\Adapter Sends/Writes a warning message to the log public Phalcon\Logger\AdapterInterface error (string $message, [array $context]) inherited from Phalcon\Logger\Adapter Sends/Writes an error message to the log public Phalcon\Logger\AdapterInterface critical (string $message, [array $context]) inherited from Phalcon\Logger\Adapter Sends/Writes a critical message to the log public Phalcon\Logger\AdapterInterface alert (string $message, [array $context]) inherited from Phalcon\Logger\Adapter Sends/Writes an alert message to the log public Phalcon\Logger\AdapterInterface emergency (string $message, [array $context]) inherited from Phalcon\Logger\Adapter Sends/Writes an emergency message to the log |