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, const std::string &priority) | |
virtual bool | errmsg (drizzled::error::level_t, const char *format, va_list ap) |
bool | removeLast () const |
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 |
const std::string & | getModuleName () const |
Static Public Member Functions | |
static bool | addPlugin (plugin::ErrorMessage *handler) |
static void | removePlugin (plugin::ErrorMessage *handler) |
static bool | vprintf (error::level_t priority, char const *format, va_list ap) |
Private Member Functions | |
Syslog (const Syslog &) | |
Syslog & | operator= (const Syslog &) |
Private Attributes | |
int | _facility |
int | _priority |