sa_observe


Purpose

Write a message to the Server Observation log (observe.log).

Syntax

sa_observe (context, buffer);

SA_CTX *context;
SA_CHAR *buffer;

Parameters

context Server context.

buffer A pointer to the buffer containing the message to write to the Server Observation log. This buffer may not exceed 1024 bytes.

Returns

SA_SUCCEED if the function is successful; SA_FAIL otherwise.

Comments

This API is intended for logging application-defined events. The RCO scripting token writes to the same log. All log entries are timestamped.

See Also

sa_log