Skip to content

errorReportingGuidelines

pjdp2 edited this page Dec 4, 2018 · 1 revision

The vvLogger module has a number of error levels that can be raised during programming, each with their own appropriate use:

Debug: Tracing the path through the application, debug information. Info: Normal operation describing assumptions that have been made. Warning: An error that causes validator split the validation into alternatives and re-inject them. Error: Any error that completely prevents validation Critical: Unhandled errors during validation, major programming mistakes etc.

The actions of the debugger can currently be set through the environment variable VALIDATOR_DEBUG, which should be a string containing the following keywords:

'debug', 'info', 'warning', 'error', 'critical': Sets the level of urgency that will provoke a response from the logger. 'file': Write to the 'VV-log.txt' file. 'console': Write debugging output to the console.

Clone this wiki locally