Public Types | |
|
typedef std::pair< const std::string, const std::string > | map_key |
|
typedef std::map< const map_key, plugin::Plugin * > | map |
| typedef std::vector< Plugin * > | vector |
Public Member Functions | |
| Logging_query (const std::string &filename, const std::string &query_pcre) | |
| virtual bool | post (Session *session) |
| virtual bool | pre (Session *) |
| virtual bool | postEnd (Session *) |
| virtual bool | resetGlobalScoreboard () |
| virtual void | shutdownPlugin () |
| virtual void | prime () |
| virtual void | startup (drizzled::Session &) |
| void | activate () |
| void | deactivate () |
| bool | isActive () const |
| const std::string & | getName () const |
| void | setModule (module::Module *module) |
| const std::string & | getTypeName () const |
| virtual bool | removeLast () const |
| const std::string & | getModuleName () const |
Static Public Member Functions | |
| static bool | addPlugin (Logging *handler) |
| static void | removePlugin (Logging *handler) |
| static bool | preDo (Session *session) |
| static bool | postDo (Session *session) |
| static bool | postEndDo (Session *session) |
| static bool | resetStats (Session *session) |
Private Attributes | |
| const std::string | _filename |
| const std::string | _query_pcre |
| int | fd |
| pcre * | re |
| pcre_extra * | pe |
| boost::format | formatter |
Definition at line 147 of file logging_query.cc.
|
inlinevirtualinherited |
Make these no-op rather than pure-virtual so that it's easy for a plugin to only implement one.
Reimplemented in performance_dictionary::SessionUsageLogger.
|
private |
Format of the output string
Definition at line 156 of file logging_query.cc.