summaryrefslogtreecommitdiffstats
path: root/include/osmocore/logging.h
diff options
context:
space:
mode:
authorHarald Welte2011-02-17 15:56:56 +0100
committerHarald Welte2011-02-17 15:56:56 +0100
commit46cfd77f7521ad53934e1e42057723b4cd52d241 (patch)
tree3714de934092b24d6d23ee3df3ae30d7c1eb8b31 /include/osmocore/logging.h
parentLOGGING: Pass the log level down to the log target output function (diff)
downloadlibosmocore-46cfd77f7521ad53934e1e42057723b4cd52d241.tar.gz
libosmocore-46cfd77f7521ad53934e1e42057723b4cd52d241.tar.xz
libosmocore-46cfd77f7521ad53934e1e42057723b4cd52d241.zip
LOGGING: Add syslog log target
Diffstat (limited to 'include/osmocore/logging.h')
-rw-r--r--include/osmocore/logging.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocore/logging.h b/include/osmocore/logging.h
index 5b780a3..d4d632d 100644
--- a/include/osmocore/logging.h
+++ b/include/osmocore/logging.h
@@ -127,6 +127,8 @@ struct log_target *log_target_create(void);
void log_target_destroy(struct log_target *target);
struct log_target *log_target_create_stderr(void);
struct log_target *log_target_create_file(const char *fname);
+struct log_target *log_target_create_syslog(const char *ident, int option,
+ int facility);
int log_target_file_reopen(struct log_target *tgt);
void log_add_target(struct log_target *target);