Drizzled Public API Documentation

drizzle_plugin::syslog::logging::Syslog Class Reference
Inheritance diagram for drizzle_plugin::syslog::logging::Syslog:
drizzled::plugin::Logging drizzled::plugin::Plugin

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

 Syslog (const std::string &facility, drizzled::uint64_constraint threshold_slow, drizzled::uint64_constraint threshold_big_resultset, drizzled::uint64_constraint threshold_big_examined)
 
virtual bool post (drizzled::Session *session)
 
bool setFacility (std::string new_facility)
 
std::string & getFacility ()
 
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)
 

Public Attributes

drizzled::uint64_constraint _threshold_slow
 
drizzled::uint64_constraint _threshold_big_resultset
 
drizzled::uint64_constraint _threshold_big_examined
 

Private Attributes

int _facility
 
std::string sysvar_facility
 

Detailed Description

Definition at line 29 of file logging.h.

Member Function Documentation

virtual bool drizzled::plugin::Logging::pre ( Session )
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.

Definition at line 41 of file logging.h.


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