fae/logging 问题修复 & 功能扩展

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

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

fae/logging

最新稳定版本:1.0.2

Composer 安装命令:

composer require fae/logging

包简介

Logging framework

README 文档

README

This is a simple backport of the ARIA logging interface to FAE.

Example basic usage

use FAE\logging\logger;

...

logger::log()->debug('This is a test with the fae log object!');

Example using a new channel

Channels allow you to namespace error messages for e.g. a specific subsystem.


logger::log('subsystem')->debug('This is a test with the fae log object!');

Example using special logger

The default log interface is to output to the PHP error log. You may want to specify a channel that outputs somewhere else - a slack channel or similar.

For this you want to include an array of one or more handlers, that will be passed to the default Monolog Logger interface.

logger::register('customloggerchannel', [
    new CustomHandler()
]);

logger::log('customloggerchannel')->debug('This is a test with the fae log object!');

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: LGPL-3.0-or-later
  • 更新时间: 2021-02-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固