24 #include <drizzled/plugin/plugin.h>
33 explicit Logging(std::string name_arg)
34 :
Plugin(name_arg,
"Logging")
42 virtual bool post(
Session *) {
return false;}
43 virtual bool postEnd(
Session*) {
return false;}
44 virtual bool resetGlobalScoreboard() {
return false;}
46 static bool addPlugin(Logging *handler);
47 static void removePlugin(Logging *handler);
48 static bool preDo(Session *session);
49 static bool postDo(Session *session);
50 static bool postEndDo(Session *session);
51 static bool resetStats(Session *session);