Sun OpenSSO Enterprise 8.0 C API Reference for Application and Web Policy Agent Developers

am_log_record_add_loginfo()

Updates a log record with additional information.

Syntax

#include "am_log.h"
AM_EXPORT am_status_t
am_log_record_add_loginfo(am_log_record_t record,
                          const char *key,
                          const char *value);

Parameters

This function takes the following parameters:

record

A log record pointer.

key

Pointer to the log field being updated.


Note –

See Chapter 15, Recording Events with the Logging Service, in Sun OpenSSO Enterprise 8.0 Technical Overview for information regarding events that are logged and the log fields to which they are written.


value

Pointer to the value with which the log field will be modified.

Returns

This function returns one of the values of the am_status_t enumeration (defined in the <am_types.h> header file).