Commit graph

18 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 86b9c05f98 Fixing PHPCS errors. 2015-02-26 08:45:42 +00:00
Dan Cryer 36e3c622c8 Fixing missing use statements 2015-02-12 11:42:09 +00: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 980cc147ac Save the build log every time the log is updated. 2014-07-31 12:27:25 +01:00
Dan Cryer 5ba629e874 Adding / correcting the file docblock throughout the project 2014-05-12 17:26:17 +01:00
Dan Cryer cf6e0471e4 PHPMD cleanup 2014-05-02 14:48:40 +01:00
Dan Cryer 9ad06cfc7d OH THE HORROR, a mis-spaced try-catch. 2014-05-01 16:55:44 +01:00
Dan Cryer 69ea47874f Fixing the horrors of overly long lines, misalignment, and incorrect use of new lines. 2014-05-01 16:53:29 +01:00
Steve B ff6dfefb98 Merge pull request #307 from meadsteve/feature/pluginfactoryconfig
Allow configuration of the plugin factory on a per install basis
2014-03-25 14:20:02 +00:00
Corpsee 08a15d8724 Added exception context for errror/exception handler logging 2014-03-24 23:43:20 +07:00
Corpsee 04dae16157 Fixed require() in LoggerConfig 2014-03-20 22:51:30 +07:00
Corpsee 15d5c022c5 Improved error/exception handler and logging 2014-03-20 22:28:01 +07:00
Corpsee 92647c6bf9 Added simple error/exception handler and logging 2014-03-18 01:10:47 +07:00
steve.brazier b60e278cf9 psr2 tidy up of logging code. 2014-02-27 14:23:51 +00:00
Dan Cryer d935c94041 Lots of clean up: Fixed remote git build to only checkout a commit if there is one, cleaned up logging to remove the logger cruft from the visible log and shortened paths within the log by removing the build directory, added a build-level exception handler to catch things like failed clones and so on. 2014-02-25 10:16:58 +00:00
meadsteve 356a2293a1 move logging related classes to appropriate namespace. 2013-12-13 16:10:54 +00:00
meadsteve 1bc2117c69 extracted build logging logic from the Builder class. 2013-12-13 15:57:56 +00:00