dot-errorhandler provides the following data:
At this point, you should already have dot-errorhandler configured.
If not, proceed to the Configuration page, and when you're done, return to this page.
To start logging one or more of the above data, we first need to enable them from the package's config file.
Open the config file and under dot-errorhandler locate the ExtraProvider::CONFIG_KEY key.
There you will find six associative arrays, each array representing a set of data this package can provide:
These providers and their configuration values are all optional. If any of them is missing from the config file, the provider simply stays disabled and code execution continues normally.
A provider is enabled only when its enabled value is exactly true.
Any other value, including 1, 'yes' or null, leaves it disabled.
Invalid configuration values are ignored, because the purpose of these providers is to log the extra data if possible but not to interfere with the app logic:
Dot\ErrorHandler\Extra\Processor\ProcessorInterface is ignored, and the provider logs the raw dataDot\ErrorHandler\Extra\ReplacementStrategy falls back to ReplacementStrategy::FullBy default,
*Providerclasses are used in fall-through mode; without a processor, they just return the unaltered data they were given.Masking counts characters, not bytes, so masked values stay valid UTF-8.