sa_log
Purpose
Write a message to the server's log file (server.log).
Syntax
sa_log (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's log file. This buffer may not exceed 1024 bytes.
Returns
SA_SUCCEED if the function is successful; SA_FAIL otherwise.
Comments
This API is intended primarily to log failure and warnings that may require action on the part of the system administrator.
See Also
sa_observe