#include <syslog.h>
#include "udebug.h"
Go to the source code of this file.
|
#define | ULOG_INFO(fmt, ...) ulog(LOG_INFO, fmt, ## __VA_ARGS__) |
|
#define | ULOG_NOTE(fmt, ...) ulog(LOG_NOTICE, fmt, ## __VA_ARGS__) |
|
#define | ULOG_WARN(fmt, ...) ulog(LOG_WARNING, fmt, ## __VA_ARGS__) |
|
#define | ULOG_ERR(fmt, ...) ulog(LOG_ERR, fmt, ## __VA_ARGS__) |
|
◆ ULOG_ERR
#define ULOG_ERR |
( |
|
fmt, |
|
|
|
... |
|
) |
| ulog(LOG_ERR, fmt, ## __VA_ARGS__) |
◆ ULOG_INFO
#define ULOG_INFO |
( |
|
fmt, |
|
|
|
... |
|
) |
| ulog(LOG_INFO, fmt, ## __VA_ARGS__) |
◆ ULOG_NOTE
#define ULOG_NOTE |
( |
|
fmt, |
|
|
|
... |
|
) |
| ulog(LOG_NOTICE, fmt, ## __VA_ARGS__) |
◆ ULOG_WARN
#define ULOG_WARN |
( |
|
fmt, |
|
|
|
... |
|
) |
| ulog(LOG_WARNING, fmt, ## __VA_ARGS__) |
◆ anonymous enum
Enumerator |
---|
ULOG_KMSG | |
ULOG_SYSLOG | |
ULOG_STDIO | |
Definition at line 26 of file ulog.h.
◆ ulog()
void ulog |
( |
int |
priority, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ ulog_close()
Definition at line 138 of file ulog.c.
static int _ulog_initialized
static int _ulog_channels
◆ ulog_open()
void ulog_open |
( |
int |
channels, |
|
|
int |
facility, |
|
|
const char * |
ident |
|
) |
| |
Definition at line 129 of file ulog.c.
static int _ulog_facility
static const char * _ulog_ident
◆ ulog_threshold()
void ulog_threshold |
( |
int |
threshold | ) |
|
Definition at line 149 of file ulog.c.
static int _ulog_threshold
◆ ulog_udebug()
Definition at line 124 of file ulog.c.
static struct udebug_buf * udb