cheukpang/psr-firephp-logger 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

cheukpang/psr-firephp-logger

Composer 安装命令:

composer require cheukpang/psr-firephp-logger

包简介

Logging psr-3 compliant messages to FirePHP

README 文档

README

The PSR-3 Compliant Logger Interface for FirePHP.

You will need to install FireBug and FirePHP on your browser first.

Usage

You can use the logger directly like this:


use Cheukpang\PsrFirePhpLogger\Logger;

$logger = new Logger();

$logger->emergency('emergency');
$logger->alert('alert');
$logger->critical('critical');
$logger->error('error');
$logger->warning('warning');
$logger->notice('notice');
$logger->info('info');
$logger->debug('debug');

Or pass the logger as a parameter to LoggerAwareInterface classes like this:


use Cheukpang\PsrFirePhpLogger\Logger;

$logger = new Logger()

class MyClass implements LoggerAwareInterface
{
	// ...
}

$my_class = new MyClass();
$my_class->setLogger($logger);

统计信息

  • 总下载量: 53
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2017-11-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固