library monologdoctrine
Monolog meets Doctrine as SQL Logger
cobaia/monologdoctrine
Monolog meets Doctrine as SQL Logger
- Thursday, May 15, 2014
- by krolow
- Repository
- 1 Watchers
- 2 Stars
- 2,418 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 2 Forks
- 0 Open issues
- 3 Versions
- 9 % Grown
DoctrineMonolog
Doctrine Monolog, makes monolog meets Doctrine as a SQL Logger, (*1)
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., (*2)
License
dev-master
9999999-dev
Monolog meets Doctrine as SQL Logger
Sources
Download
MIT
The Requires
v1.0.1
1.0.1.0
Monolog meets Doctrine as SQL Logger
Sources
Download
MIT
The Requires
v1.0.0
1.0.0.0
Monolog meets Doctrine as SQL Logger
Sources
Download
MIT
The Requires