Remote Administration Daemon Developer Guide

Exit Print View

Updated: July 2014
 
 

Logging

Function
Description
void rad_log(rad_logtype_t type, 
const char * format, ...);
Log a message with type and format to the rad log. If the type is a lower level than the rad logging level, then the message is discarded.
void rad_log_alloc()
Log a memory allocation failure with log level RL_FATAL.
rad_logtype_t rad_get_loglevel()
Return the logging level.