定制 plumthedev/php-cloudwatch-logger 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

plumthedev/php-cloudwatch-logger

最新稳定版本:v1.0.3

Composer 安装命令:

composer require plumthedev/php-cloudwatch-logger

包简介

A PHP library for logging to AWS Cloudwatch.

README 文档

README

PHP PhpStorm

example workflow tests coverage

Introduction

PHP Cloudwatch Logger is a PHP library designed for logging to the AWS Cloudwatch service. It offers a seamless way to track various types of information from your PHP application directly to AWS Cloudwatch.

Installation

composer require plumthedev/php-cloudwatch-logger

Usage

To instantiate a Monolog logger, utilize the CloudwatchLoggerFactory::createCloudwatchLogger method. This method initializes a new logger instance, requiring the complete configuration during logger creation.
@see LoggerFactory::createCloudwatchLogger

Testing

To run tests, you need to build a Docker image first:

make build

Only then you can execute the tests:

make test

Contribution

If you spot areas for improvement, wish to make enhancements, or have ideas for further development, feel free to contribute to this project.

To access the project terminal, you must first build the Docker image:

make build

Afterward, you can enter the console:

make run

Before submitting a pull request, ensure everything is in order:

make check

License

This project is licensed under the terms of the MIT license. See the LICENSE file for details.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-05