void VCSAgLogConsoleMsg(int tag, const char *message, int flags);
This primitive requests that the VCS agent framework write message to the agent log file
UNIX: $VCS_LOG/log/resource_type_A.log.
The message must not exceed 4096 bytes. A message greater that 4096 bytes is truncated.
tag can be any value from TAG_A to TAG_Z. Tags A through E are enabled by default. To enable other tags, use the halog command. flags can be zero or more of LOG_NONE, LOG_TIMESTAMP (prints date and time), LOG_NEWLINE (prints a new line), and LOG_TAG (prints tag). This primitive can be called from any entry point.
For example:
#include "VCSAgApi.h" ... VCSAgLogConsoleMsg(TAG_A, "Getting low on disk space", LOG_TAG|LOG_TIMESTAMP); ...