This function takes the following parameters:
A log record pointer.
The level to which the log record will be set. Each log record has an associated level that defines its relative importance and urgency. Possible values are defined in the am_log_record_log_level_t enumeration.
typedef enum am_log_record_log_level { /* Log Level as defined by JDK 1.4 */ AM_LOG_LEVEL_SEVERE = 1000, AM_LOG_LEVEL_WARNING = 900, AM_LOG_LEVEL_INFORMATION = 800, AM_LOG_LEVEL_CONFIG = 700, AM_LOG_LEVEL_FINE = 500, AM_LOG_LEVEL_FINER = 400, AM_LOG_LEVEL_FINEST = 300, /* Log Levels defined by Access Manager */ AM_LOG_LEVEL_SECURITY = 950, AM_LOG_LEVEL_CATASTROPHE = 850, AM_LOG_LEVEL_MISCONF = 750, AM_LOG_LEVEL_FAILURE = 650, AM_LOG_LEVEL_WARN = 550, AM_LOG_LEVEL_INFO = 450, AM_LOG_LEVEL_DEBUG = 350, AM_LOG_LEVEL_ALL = 250 } am_log_record_log_level_t;