version 1.55, 2020/10/18 11:21:59 |
version 1.56, 2020/12/04 02:25:13 |
|
|
static int log_on_stderr = 1; |
static int log_on_stderr = 1; |
static int log_stderr_fd = STDERR_FILENO; |
static int log_stderr_fd = STDERR_FILENO; |
static int log_facility = LOG_AUTH; |
static int log_facility = LOG_AUTH; |
static char *argv0; |
static const char *argv0; |
static log_handler_fn *log_handler; |
static log_handler_fn *log_handler; |
static void *log_handler_ctx; |
static void *log_handler_ctx; |
static char **log_verbose; |
static char **log_verbose; |
|
|
*/ |
*/ |
|
|
void |
void |
log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr) |
log_init(const char *av0, LogLevel level, SyslogFacility facility, |
|
int on_stderr) |
{ |
{ |
argv0 = av0; |
argv0 = av0; |
|
|