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
Parameter | Description |
---|---|
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
Use EsbGetLogFile() to view message logs.
For the locations of essbase.log and appname.log, see the Oracle Essbase Database Administrator's Guide.
Return Value
Returns a zero if successful.
Access
The caller must have administrator privilege (ESS_ACCESS_SUPER) for the specified application.