承接 serendipity_hq/monolog-html-line-formatter 相关项目开发

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

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

serendipity_hq/monolog-html-line-formatter

最新稳定版本:4.0.1

Composer 安装命令:

composer require serendipity_hq/monolog-html-line-formatter

包简介

Formats Monolog's log lines to make them colorful when displayed in HTML.

README 文档

README

Serendipity HQ Monolog HTML Line Log

A Monolog Formatter to make log lines colorful depending on their level.

Current Status

Maintainability Rating Quality Gate Status Reliability Rating Security Rating Technical Debt Vulnerabilities

PHPStan PSalm PHPUnit Composer PHP CS Fixer Rector

codecov

CodeCov SunBurst CodeCov Tree CodeCov I Cicle

Do you like this library?
LEAVE A ★

or run
composer global require symfony/thanks && composer thanks
to say thank you to all libraries you use in your current project, this included!

Install monolog-html-line-formatter via Composer

$ composer require serendipity_hq/monolog-html-line-formatter

This library follows the http://semver.org/ versioning conventions.

How to use Serendipity HQ Monolog HTML Line Formatter

// Crate a Monolog Logger
$logger = new \Monolog\Logger('The name of your Logger');

try {
    $handler = new TheHandlerYouChose($logFile, \Monolog\Level::Debug);
    $handler->setFormatter(new MonologHtmlLineFormatter());
} catch(\Throwable $e) {
    throw $e;
}

// Now add some handlers
$logger->pushHandler($handler);

Do you like this library?
LEAVE A ★

or run
composer global require symfony/thanks && composer thanks
to say thank you to all libraries you use in your current project, this included!

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-08-31