cobaia/monologdoctrine
最新稳定版本:v1.0.1
Composer 安装命令:
composer require cobaia/monologdoctrine
包简介
Monolog meets Doctrine as SQL Logger
README 文档
README
Doctrine Monolog, makes monolog meets Doctrine as a SQL Logger
Usage
$paths = array( 'entityFolder', ); $config = Setup::createAnnotationMetadataConfiguration($paths, true); $config->setSQLLogger(new MonologSQLLogger(null, null, __DIR__ . '/path/of/log/'));
By default the first two params can be null, or you can pass one instance of Monolog\Logger and Monolog\Handler\StreamHandler and the third param won't be necessary in this case.
License
统计信息
- 总下载量: 4.42k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-11-21