lindemannrock/craft-logging-library 问题修复 & 功能扩展

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

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

lindemannrock/craft-logging-library

最新稳定版本:5.8.3

Composer 安装命令:

composer require lindemannrock/craft-logging-library

包简介

Reusable logging library for Craft CMS plugins

README 文档

README

Latest Version Craft CMS PHP License

A reusable logging library for Craft CMS plugins that provides consistent logging, dedicated log files, and a built-in log viewer interface.

Beta Notice

This plugin is currently in active development and provided under the MIT License for testing purposes.

Licensing is subject to change. We are finalizing our licensing structure and some or all features may require a paid license when officially released on the Craft Plugin Store.

Features

  • Dedicated Log Files — each plugin gets its own daily log files in storage/logs/
  • Built-in Log Viewer — web interface for viewing, filtering, searching, and downloading logs
  • Standalone System Log Viewer — browse all Craft, plugin, and PHP logs from one interface
  • Control Panel Section — access the standalone viewer from Logging Library → All Logs when the CP section is enabled
  • LoggingTrait — drop-in trait with logInfo(), logWarning(), logError(), logDebug()
  • LoggingService API — direct logging, log statistics, recent entries, and cleanup
  • High Performance Caching — handle 40,000+ entries instantly with ArrayQuery and file-based caching
  • Multi-Format Parsing — automatically detects plugin, Craft CMS, and PHP error log formats
  • Edge Detection — auto-disables log viewer on edge/CDN platforms like Servd
  • Monolog Integration — uses Craft 5's Monolog system with proper PSR-3 standards
  • Configurable — customizable log levels, retention, permissions, and sidebar menus

Requirements

  • Craft CMS 5.0+
  • PHP 8.2+

Installation

Via Composer

composer require lindemannrock/craft-logging-library
php craft plugin/install logging-library

Using DDEV

ddev composer require lindemannrock/craft-logging-library
ddev craft plugin/install logging-library

Documentation

Full documentation is available in the docs folder.

Support

License

This plugin is licensed under the MIT License. See LICENSE for details.

Developed by LindemannRock

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-10-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固