Sun Java System Access Manager 7 2005Q4 C API Reference

am_log_record_set_loginfo_props()

Updates the log record with additional information.

Syntax

#include "am_log.h"
AM_EXPORT am_status_t
am_log_record_set_loginfo_props(am_log_record_t record,
                                am_properties_t log_info);

Parameters

This function takes the following parameters:

record

Opaque handle to the log record.

log_info

Key value pairs to be set in the log record.

Returns

This function returns am_status_t with one of the following values:

AM_SUCCESS

If log_info was successfully added.

AM_*

If any error occurs, the type of error indicated by the status value.

Details

Sets all log info values as properties map.

The log_info is expected to have the required log info members as key value pairs and user is expected to delete the am_properties_t pointer only when he is done with amsdk.