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
其他信息
- 授权协议: Unknown
- 更新时间: 2025-04-14