~serge-hallyn/ubuntu/saucy/lxc/lxc-dnsmasq

« back to all changes in this revision

Viewing changes to src/lxc/log.h

  • Committer: Stéphane Graber
  • Date: 2013-02-18 15:20:18 UTC
  • mto: This revision was merged to the branch mainline in revision 190.
  • Revision ID: stgraber@ubuntu.com-20130218152018-ls2gi9hkqs2kuhj8
Tags: upstream-0.9.0~alpha3
Import upstream version 0.9.0~alpha3

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
#define LXC_LOG_BUFFER_SIZE     512
42
42
 
43
43
/* predefined priorities. */
44
 
enum {
 
44
enum lxc_loglevel {
45
45
        LXC_LOG_PRIORITY_TRACE,
46
46
        LXC_LOG_PRIORITY_DEBUG,
47
47
        LXC_LOG_PRIORITY_INFO,
287
287
 
288
288
extern int lxc_log_fd;
289
289
 
290
 
extern int lxc_log_init(const char *file, const char *priority,
291
 
                        const char *prefix, int quiet);
 
290
extern int lxc_log_init(const char *name, const char *file,
 
291
                        const char *priority, const char *prefix, int quiet);
292
292
 
293
293
extern void lxc_log_setprefix(const char *a_prefix);
 
294
extern int lxc_log_set_level(int level);
 
295
extern int lxc_log_set_file(const char *fname);
 
296
extern int lxc_log_get_level(void);
 
297
extern const char *lxc_log_get_file(void);
294
298
#endif