~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/logging.cc

Added error reporting to plugin registration. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
vector<plugin::Logging *> all_loggers;
33
33
 
34
34
 
35
 
void plugin::Logging::addPlugin(plugin::Logging *handler)
 
35
bool plugin::Logging::addPlugin(plugin::Logging *handler)
36
36
{
37
37
  if (handler != NULL)
38
38
    all_loggers.push_back(handler);
 
39
  return false;
39
40
}
40
41
 
41
42
void plugin::Logging::removePlugin(plugin::Logging *handler)