承接 unax/logger 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

unax/logger

Composer 安装命令:

composer require unax/logger

包简介

Logger with eight methods for writing logs to the eight RFC 5424 levels (debug, info, notice, warning, error, critical, alert, emergency).

README 文档

README

PHP PSR Enforcer Logger Release

Unax Logger

DefaultLogger class is available for logging. The DefaultLogger includes eight methods for writing logs to the eight RFC 5424 levels (debug, info, notice, warning, error, critical, alert, emergency).

Example Usage

require(__DIR__ . '/vendor/autoload.php');


\Unax\Logger\LogHandlerFile::setLogHandlerFile(__DIR__ . '/debug.log');
\Unax\Logger\Logger::setLogThreshold('info');

$logger = \Unax\Logger\Logger::getLogger();
$logger->info('Hello World!');

Default log destination is PHP error_log() destination. Default logging threshold is 'error'. Everything below treshold will be skipped.

Support

Unax Logger is supported by Unax. Comments are welcome on support@unax.org.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-only
  • 更新时间: 2021-04-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固