~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/syslog/errmsg.h

  • Committer: Andrew Hutchings
  • Date: 2011-02-01 10:23:22 UTC
  • mto: (2136.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2137.
  • Revision ID: andrew@linuxjedi.co.uk-20110201102322-oxztcyrjzg3c7yta
Fix counters cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#pragma once
 
20
#ifndef PLUGIN_SYSLOG_ERRMSG_H
 
21
#define PLUGIN_SYSLOG_ERRMSG_H
21
22
 
22
23
#include <stdarg.h>
23
24
#include <drizzled/plugin/error_message.h>
41
42
  explicit Syslog(const std::string& facility,
42
43
                  const std::string& priority);
43
44
 
44
 
  virtual bool errmsg(drizzled::error::level_t, const char *format, va_list ap);
 
45
  virtual bool errmsg(drizzled::Session *, int, const char *format, va_list ap);
45
46
};
46
47
 
47
48
} /* namespace error_message */
48
49
} /* namespace drizzle_plugin */
49
50
 
 
51
#endif /* PLUGIN_SYSLOG_ERRMSG_H */