Description

记录有效的 PHP Stream 至日志

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");

Type hierarchy

amzn/amazon-pay-sdk-php 2.x-dev
psr/log dev-master 1.1.3
View more packages
amzn/login-and-pay-with-amazon-sdk-php 2.x-dev
ortnit/logger dev-master
psr-php7/log dev-master 1.0.0
amzn/amazon-pay-sdk-php 2.x-dev
psr/log dev-master 1.1.3
View more packages
amzn/login-and-pay-with-amazon-sdk-php 2.x-dev
ortnit/logger dev-master
psr-php7/log dev-master 1.0.0

Class usage:

This class is not referred by any other class/interface/traits in packagist packages.