OneGate allows you to place tokens within your output, and within all error files. These tokens are replaced with the relevant data corresponding to each token. In this fashion, you can create static XML or other error files, or even substitute values from OneGate into your successful program output. This allows for enhanced development, debugging, and information conveyance.
The following substitution tokens are valid for OneGate's output, if the sub_error or sub_success configuration options are enabled with a setting of yes. If the relevant option is not enabled, no substitutions will be performed on the output.
#OGErrorCode#
This token will be replaced with the numeric error number encountered.
#OGErrorText#
This token will be replaced with the text error message corresponding to the error encountered.
#OGDevelError#
This token will be replaced with the extended information provided by devel_debug if that option is set to yes. If that option is disabled, the token will simply be deleted.
#OGVersion#
This token will be replaced with the OneGate version number of the running copy.
#OGProgram#
This token will be replaced with the formal program name and version (ie., "Fairlight OneGate v04.00.00").
#OGSessionID#
This token will be replaced with the session ID if devel_debug is set to yes. If that option is disabled, the token will simply be deleted.
#OGGeneratedLink#
This token will be replaced with a hyperlink to the OneGate site and text "Powered by OneGate".