Sun Java System Access Manager 7.1 C API Reference

am_log_record_set_log_message()

Sets the log message to the log record before localization and formatting.

Syntax

#include "am_log.h"
AM_EXPORT am_status_t
am_log_record_set_log_message(am_log_record_t record,
                              const char *message);

Parameters

This function takes the following parameters:

record

A log record pointer.

message

Pointer to the log message to be written to the log record.

Returns

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