Functions | |
void | di_system_init (const char *progname) |
void di_system_init | ( | const char * | progname | ) |
Inits the lib. In addition to di_init, this functions sets a syslog log handler.
progname | name of the called binary |
References di_init(), di_log_handler_syslog, DI_LOG_LEVEL_MASK, and di_log_set_handler().
00034 { 00035 di_init (_progname); 00036 di_log_set_handler (DI_LOG_LEVEL_MASK, di_log_handler_syslog, NULL); 00037 }