Logger
Abstract class Phalcon\Logger
Phalcon\Logger is a component whose purpose is create logs using different backends via adapters, generating options, formats and filters also implementing transactions.
$logger = new Phalcon\Logger\Adapter\File("app/logs/test.log"); $logger->log("This is a message"); $logger->log("This is an error", Phalcon\Logger::ERROR); $logger->error("This is another error");