Public Types | |
enum | { KLOG_TYPE_UNKNOWN, KLOG_TYPE_MEM, KLOG_TYPE_FILE, KLOG_TYPE_SYSLOG } |
Data Fields | |
enum klog_s:: { ... } | type |
int | threshold |
char | ident [KLOG_ID_SZ+1] |
union { | |
klog_mem_t * m | |
klog_syslog_t * s | |
klog_file_t * f | |
} | u |
int(* | cb_log )(struct klog_s *, int, const char *, va_list) |
void(* | cb_close )(struct klog_s *) |
int(* | cb_getln )(struct klog_s *, size_t, char[]) |
ssize_t(* | cb_countln )(struct klog_s *) |
int(* | cb_clear )(struct klog_s *) |
int(* | cb_flush )(struct klog_s *) |
|
|
|
Referenced by klog_clear(), klog_open_file(), klog_open_mem(), and klog_open_syslog(). |
|
Referenced by klog_close(), klog_open_file(), klog_open_mem(), and klog_open_syslog(). |
|
Referenced by klog_countln(), klog_open_file(), klog_open_mem(), and klog_open_syslog(). |
|
Referenced by klog_flush(), klog_open_file(), klog_open_mem(), and klog_open_syslog(). |
|
Referenced by klog_getln(), klog_open_file(), klog_open_mem(), and klog_open_syslog(). |
|
Referenced by klog(), klog_open_file(), klog_open_mem(), and klog_open_syslog(). |
|
Definition at line 122 of file klog.h. Referenced by klog_open_file(). |
|
Definition at line 115 of file klog.h. Referenced by klog_new(). |
|
Definition at line 120 of file klog.h. Referenced by klog_open_mem(). |
|
Definition at line 121 of file klog.h. Referenced by klog_open_syslog(). |
|
Definition at line 114 of file klog.h. Referenced by klog(), and klog_new(). |
|
Referenced by klog(), klog_clear(), klog_close(), klog_countln(), klog_flush(), klog_getln(), klog_new(), and server_foreach_memlog_line(). |
|
Referenced by klog_open_file(), klog_open_mem(), and klog_open_syslog(). |