承接 ju4n/telemetry-logger 相关项目开发

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

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

ju4n/telemetry-logger

最新稳定版本:0.1.1

Composer 安装命令:

composer require ju4n/telemetry-logger

包简介

A simple log system

README 文档

README

Tests

Telemetry Logger is an extensible PHP package that allows logging to multiple destinations (drivers) and formats. It follows the PSR-3 logging standard and is designed to be flexible and easily extensible with custom drivers and formatters.

Features

  • Supports multiple drivers: CLI and file.
  • Extensible for adding custom drivers and formatters.
  • Easy to use with a configurable LoggerBuilder.
  • Supports log transactions.
  • PSR-3 compliant.

Requirements

  • PHP 8.2 or higher.
  • Composer for dependency management.
  • PHPUnit for running tests.

Installation

You can install the package via Composer:

composer require ju4n/telemetry-logger

Documentation

Running Tests

This project includes a set of unit tests that you can run using PHPUnit.

First, ensure that you have installed the development dependencies:

composer install --dev

Then, you can run the tests with the following command:

vendor/bin/phpunit

You can also generate a code coverage report:

vendor/bin/phpunit --coverage-html coverage/

If you don't have PHP installed on your local machine, you can run the tests using docker-compose by executing:

docker-compose run composer install && docker-compose run phpunit

Diagram

UML

License

This project is licensed under the MIT License.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-10-21