~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/syslog/wrap.h

  • Committer: Mark Atwood
  • Date: 2011-11-14 07:30:41 UTC
  • Revision ID: me@mark.atwood.name-20111114073041-mo2hgg8ouseo2kpu
releaseĀ 2011.11.29

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
#pragma once
21
21
 
22
 
#include <stdarg.h>
 
22
#include <cstdarg>
23
23
 
24
24
#include <string>
25
25
 
 
26
#include <drizzled/error/priority_t.h>
 
27
 
26
28
namespace drizzle_plugin {
27
29
 
28
30
class WrapSyslog
39
41
  static int getPriorityByName(const char *);
40
42
 
41
43
  void openlog(const std::string &ident);
42
 
  void vlog(int facility, int priority, const char *format, va_list ap);
43
 
  void log(int facility, int priority, const char *format, ...);
 
44
  void vlog(int facility, const drizzled::error::priority_t priority, const char *format, va_list ap);
 
45
  void log(int facility, const drizzled::error::priority_t priority, const char *format, ...);
44
46
};
45
47
 
46
48
inline WrapSyslog& WrapSyslog::singleton()