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().
{
di_init (_progname);
di_log_set_handler (DI_LOG_LEVEL_MASK, di_log_handler_syslog, NULL);
}
1.7.1