silverstripe-framework/src/Logging
Sam Minnee 4c772c80c3 FIX: Show detailed errors on CLI for live environments
API: Add HTTPOutputHandler::setCLIFormatter

Fixes https://github.com/silverstripe/silverstripe-framework/issues/6835

This provides detailed errors (but not warnings or notices) in CLI calls
on live environments.

It does this by adding a 2nd argument to our output handler,
CliFormatter. This formatter will be used when Director::is_cli() is
true.
2017-05-01 15:28:48 +12:00
..
DebugViewFriendlyErrorFormatter.php PSR2: Whitespace-only changes 2016-11-29 12:31:16 +13:00
DetailedErrorFormatter.php PSR2: Whitespace-only changes 2016-11-29 12:31:16 +13:00
HTTPOutputHandler.php FIX: Show detailed errors on CLI for live environments 2017-05-01 15:28:48 +12:00
MonologErrorHandler.php API Apply default logger to all caches 2017-03-15 15:31:24 +13:00