Generate a console log message with a reference number for efficient problem solving. In addition, watch the video on the XPF Self-Documenting Feature which generates a PDF that includes a Messages and Codes Section.

logicError(Reference Number,Text);

Example:
logicError(9110,"Unknown data type entered.");