Configuration:

- log_errors: true/false (if true this module will log errors)
- min_log_level: 0-5 (If severity of error is equal or greater, the module will log it)
- display_type: html/json/plaintext (sets the output type:
 'html' will use template from template.html file,
 'json' will display error in json format,
 'plaintext' will display error in format 'Error: ERROR_CODE, ERROR_DESCRIPTION' )

Usage:

---

Click on code to copy it