@ -246,8 +245,7 @@ _outputPrevious_: When true will output previous throwables. Defaults to _true_.
_outputTime_: When true will output times to the output. Defaults to _true_.
_outputToStderr_: When the SAPI is cli output errors to stderr. Defaults to _true_.
_silent_: When true the handler won't output anything. Defaults to _false_.
_timeFormat_: The PHP-standard date format which to use for times in output. Defaults to _"Y-m-d\\TH:i:s.vO"_.
_varExporter_: A user-defined closure to use when printing arguments in backtraces. Defaults to _null_.
_timeFormat_: The PHP-standard date format which to use for times in output. Defaults to _"Y-m-d\\TH:i:s.vO"_.
#### MensBeam\Catcher\Handler::__invoke ####
@ -334,38 +332,4 @@ class PlainTextHandler extends Handler {
#### Options ####
_timeFormat_: Same as in `Handler`, but the default changes to _"[H:i:s]"_.
## Setting a Custom Variable Exporter ##
By default internally [`print_r`][e] is used. This is due to tests made internally where it performed the best out of built-in options, including other functions which might otherwise be preferred. Starting in v1.0.2 `Handler`'s `varExporter` option allows for defining how arguments are printed in backtraces in Catcher. Here is an example:
This example above uses the [symfony/var-exporter][f] package for a more modern human-readable variable export. However, using any variable printer is possible.
_timeFormat_: Same as in `Handler`, but the default changes to _"[H:i:s]"_.