diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-02-17 15:56:56 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-02-17 15:56:56 +0100 |
commit | 46cfd77f7521ad53934e1e42057723b4cd52d241 (patch) | |
tree | 3714de934092b24d6d23ee3df3ae30d7c1eb8b31 /include/osmocore | |
parent | 76e72abe329e7b36b88a8f939593d84b2ba00152 (diff) |
LOGGING: Add syslog log target
Diffstat (limited to 'include/osmocore')
-rw-r--r-- | include/osmocore/logging.h | 2 |
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); |