~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/syslog/errmsg.h

Merge Monty - Added inter-plugin dependencies for controlling plugin load order

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 */