Sun Java System Access Manager 7 2005Q4 C API Reference

am_log_record_set_log_level()

Convenience functions.

Syntax

#include "am_log.h"
AM_EXPORT am_status_t
am_log_record_set_log_level(am_log_record_t record,
                            am_log_record_log_level_t log_level);

Parameters

This function takes the following parameters:

record

Opaque handle to the log record.

log level

Log level to set in the log record.

Returns

This function returns am_status_t with one of the following values:

AM_SUCCESS

If the log level was successfully set.

AM_*

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