EsbWriteToLogFile

Writes a message to the Essbase Server log file (essbase.log), or to the application log file (appname.log).

Syntax

Declare Function EsbWriteToLogFile Lib "esbapin" (
ByVal hCtx As Long,
ByVal isAgentLog As Boolean,
ByVal Message As String) As Long
ParameterDescription

hCtx

API context handle.

isAgentLog

If TRUE, message is written to the Essbase Server log file, essbase.log. If FALSE, message is written to the application log file, appname.log.

Message

Message to be logged to the Essbase Server log file (essbase.log), or to the application log file (appname.log).

Notes

Return Value

Returns a zero if successful.

Access

The caller must have administrator privilege (ESS_ACCESS_SUPER) for the specified application.