Writes the given log record to the specified logging module.
#include "am_log.h" AM_EXPORT am_status_t am_log_log_record(am_log_record_t record, const char *log_name, const char *logged_by_token_id);
This function takes the following parameters:
The log record pointer.
Pointer to the name of the logging module to which the log record will be written.
Pointer to a valid SSOTokenID identifying the user to whom the log record applies.
This is required to access the Logging Service on OpenSSO Enterprise.
This function returns one of the following values of the am_status_t enumeration (defined in the <am_types.h> header file):
If log record is written.
If any error occurs, the type of error indicated by the status value.