From 641c20a663819f002fa1dded2e93e3e99c781e33 Mon Sep 17 00:00:00 2001 From: Cedric Le Goater Date: Thu, 12 Nov 2009 14:40:14 +0100 Subject: [PATCH] export log function so it can be used by library user The log api may be used by an external component which needs to access these functions. Signed-off-by: Daniel Lezcano --- src/lxc/log.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lxc/log.h b/src/lxc/log.h index d9c1fb32f..b11093d1e 100644 --- a/src/lxc/log.h +++ b/src/lxc/log.h @@ -285,6 +285,10 @@ extern struct lxc_log_category lxc_log_category_lxc; ERROR("%s - " format, strerror(errno), ##__VA_ARGS__); \ } while (0) +extern int lxc_log_fd; + extern int lxc_log_init(const char *file, const char *priority, const char *prefix, int quiet); + +extern void lxc_log_setprefix(const char *a_prefix); #endif -- 2.47.2