tredmann/monolog-pdo-sqlite 问题修复 & 功能扩展

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

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

tredmann/monolog-pdo-sqlite

最新稳定版本:1.0.0

Composer 安装命令:

composer require tredmann/monolog-pdo-sqlite

包简介

README 文档

README

The handler is intented for local development, so that developers have an easy way to look into structured logs.

Installation

You can install the monolog pdo sqlite hanlder via composer

composer require tredmann/monolog-pdo-slite

Migrate the database

To create the database you can initial the handler and then use the up function.

$handler = new SQLiteHandler(filePath: __DIR__.'/test.sqlite');
$handler->up();

Using the handler in monolog

$log = new Logger(name: 'test');
$log->pushHandler($handler);

Acknowledgements

The up and down functions were inspired by https://github.com/bayfrontmedia/monolog-pdo

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2025-04-14