Class Phalcon\Logger\Adapter\Stream

<?php
use Phalcon\Logger;
use Phalcon\Logger\Adapter\Stream;
$logger = new Stream("php://stderr");
$logger->log("This is a message");
$logger->log(Logger::ERROR, "This is an error");
$logger->error("This is another error");