drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
drizzled::plugin::Logging Class Reference
Inheritance diagram for drizzled::plugin::Logging:
[legend]
Collaboration diagram for drizzled::plugin::Logging:
[legend]

Public Member Functions

 Logging (std::string name_arg)
virtual bool pre (Session *)
virtual bool post (Session *)
virtual bool postEnd (Session *)
virtual bool resetGlobalScoreboard ()
Public Member Functions inherited from drizzled::plugin::Plugin
 Plugin (const std::string &name, const std::string &type_name)
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)

Additional Inherited Members

Public Types inherited from drizzled::plugin::Plugin
typedef std::pair< const std::string, const std::string > map_key
typedef std::unique_ptr< plugin::Plugin, deleter_fn > owned_ptr
typedef std::map< const map_key, owned_ptr > map
typedef std::vector< Plugin * > vector

Detailed Description

Definition at line 30 of file drizzled/plugin/logging.h.

Constructor & Destructor Documentation

◆ Logging()

drizzled::plugin::Logging::Logging ( std::string name_arg)
inlineexplicit

Definition at line 33 of file drizzled/plugin/logging.h.

Member Function Documentation

◆ addPlugin()

bool drizzled::plugin::Logging::addPlugin ( plugin::Logging & handler)
static

Definition at line 32 of file drizzled/plugin/logging.cc.

◆ post()

virtual bool drizzled::plugin::Logging::post ( Session * )
inlinevirtual

Definition at line 42 of file drizzled/plugin/logging.h.

◆ postDo()

bool drizzled::plugin::Logging::postDo ( Session * session)
static

Definition at line 153 of file drizzled/plugin/logging.cc.

◆ postEnd()

virtual bool drizzled::plugin::Logging::postEnd ( Session * )
inlinevirtual

Definition at line 43 of file drizzled/plugin/logging.h.

◆ postEndDo()

bool drizzled::plugin::Logging::postEndDo ( Session * session)
static

Definition at line 167 of file drizzled/plugin/logging.cc.

◆ pre()

virtual bool drizzled::plugin::Logging::pre ( Session * )
inlinevirtual

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.

Definition at line 41 of file drizzled/plugin/logging.h.

◆ preDo()

bool drizzled::plugin::Logging::preDo ( Session * session)
static

Definition at line 138 of file drizzled/plugin/logging.cc.

◆ removePlugin()

void drizzled::plugin::Logging::removePlugin ( plugin::Logging & handler)
static

Definition at line 38 of file drizzled/plugin/logging.cc.

◆ resetGlobalScoreboard()

virtual bool drizzled::plugin::Logging::resetGlobalScoreboard ( )
inlinevirtual

Definition at line 44 of file drizzled/plugin/logging.h.

◆ resetStats()

bool drizzled::plugin::Logging::resetStats ( Session * session)
static

Definition at line 181 of file drizzled/plugin/logging.cc.


The documentation for this class was generated from the following files: