Caution: this is old EurekaLog 6 documentation. This is not the latest version.
EurekaLog includes a function called GenerateHTML, that enables you to convert a custom plain text in a formatted HTML code (the formatting process uses the HTML layout defined in the EurekaLog options).
NOTE: You can use this function to show the EurekaLog error page in unsupported Web applications types.
Syntax of this function is as follows:
function GenerateHTML(const Text: string; AddOKButton: Boolean): string;
Example:
uses ExceptionLog; // The required unit...
var HTMLCode: string; begin ... HTMLCode := GenerateHTML('Custom text...', True {Add a JavaScript 'back' button at the page bottom} ); ... end;
|