Commit 641c20a6 by Cedric Le Goater Committed by Daniel Lezcano

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: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent e43a27b4
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment