summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-02-17 15:56:56 +0100
committerHarald Welte <laforge@gnumonks.org>2011-02-17 15:56:56 +0100
commit46cfd77f7521ad53934e1e42057723b4cd52d241 (patch)
tree3714de934092b24d6d23ee3df3ae30d7c1eb8b31 /include
parent76e72abe329e7b36b88a8f939593d84b2ba00152 (diff)
LOGGING: Add syslog log target
Diffstat (limited to 'include')
-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 5b780a34..d4d632d8 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);