Sun Java System Access Manager 7 2005Q4 C API Reference

am_log_is_level_enabled()

Determines whether a logging message at the specified level and associated with the specified module would be emitted.

Syntax

#include "am_log.h"
AM_EXPORT boolean_t
am_log_is_level_enabled(am_log_module_id_t moduleID,
                        am_log_level_t level);

Parameters

This function takes the following parameters:

module

The ID of the module to be examined.

level

The logging level to be checked.

Returns

This function returns boolean_t with one of the following values:

!0

If the message would be emitted.

0

Otherwise