~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/logging.h

Some carnage. I'm sure it'll need fixed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
namespace plugin
30
30
{
31
31
 
32
 
class Logging
 
32
class Logging : public Plugin
33
33
{
34
 
  std::string name;
 
34
  Logging();
 
35
  Logging(const Logging &);
35
36
public:
36
 
  Logging(std::string name_arg): name(name_arg)  {}
 
37
  explicit Logging(std::string name_arg): Plugin(name_arg)  {}
37
38
  virtual ~Logging() {}
38
39
 
39
 
  std::string getName() { return name; }
40
40
  /**
41
41
   * Make these no-op rather than pure-virtual so that it's easy for a plugin
42
42
   * to only implement one.