bjoern-buettner/logger 问题修复 & 功能扩展

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

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

bjoern-buettner/logger

最新稳定版本:1.0.0

Composer 安装命令:

composer require bjoern-buettner/logger

包简介

A simple lazy logger for PHP

README 文档

README

This logger package provides a few helper classes to minimize the performance impact of writing logs. If you desire additional options, please open an issues.

Installation

composer require bjoern-buettner/logger

Contained Classes

All mentioned classes can be found in the namespace Me\BjoernBuettner\Logger.

EagerMonologRoundRobinFileHandler

The eager monolog round robin file handler for Monolog writes directly to a set of files, that are randomly chosen from a list of possible files. This means, that the chance of a file being written to by multiple handlers at once gets way smaller, removing nearly all of the performance impact.

LazyLoggerFacade

This is a psr-compatible implementation of a logger only dumping the messages from memory after a request finished. This completely removes the file access overhead from the user-measurable webrequest speed.

LazyMonologHandlerFacade

The lazy monolog handler facade is an implementation of a Monolog handler only dumping the messages from memory after a request finished. This completely removes all remote access overhead from the user-measurable webrequest speed.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-08-02