Sun Java System Access Manager 7 2005Q4 C API Reference

am_log_vlog()

Logs a message for the given module at the given level.

Syntax

#include "am_log.h"
AM_EXPORT boolean_t
am_log_vlog(am_log_module_id_t moduleID,
                                am_log_level_t level,
                                const char *format, ...);

Parameters

This function takes the following parameters:

module

The ID of the module to be associated with the message.

level

The logging level of the message.

format

A printf-style format string.

Returns

The set of addition arguments needed by the format string either enumerated directly or passed using the standard va_list mechanism as appropriate to the call.

Details

The message is emitted only if the current level of the specified module is greater than or equal to the specified level.