Commit graph

5 commits

Author SHA1 Message Date
Adirelle f46a8be648 LoggerConfig::getFor always returns the same instance of Logger for the same $name.
This avoid issues when push handlers/processors to that logger.
Use the Monolog\ErrorHandler to log errors and exceptions.
PHPCI/Logging/Handler becomes PHPCI/ErrorHandler.
And it only throws ErrorException for reported errors.
No need to initialize a second $loggerConfig in daemonise.

Close #892
2015-04-23 13:25:53 +02:00
Dan Cryer 7f9a09fa29 Adding Docblocks throughout the project and lowering the missing docblock limit in phpci.yml to zero.
Closes #692
2014-12-08 14:12:01 +00:00
Dan Cryer 5ba629e874 Adding / correcting the file docblock throughout the project 2014-05-12 17:26:17 +01:00
steve.brazier b60e278cf9 psr2 tidy up of logging code. 2014-02-27 14:23:51 +00:00
meadsteve 356a2293a1 move logging related classes to appropriate namespace. 2013-12-13 16:10:54 +00:00
Renamed from PHPCI/Helper/LoggerConfig.php (Browse further)