~clint-fewbar/drizzle/regex-policy-cache-limiter

« back to all changes in this revision

Viewing changes to plugin/syslog/logging.h

  • Committer: Clint Byrum
  • Date: 2012-03-15 18:05:43 UTC
  • mfrom: (2224.1.302 workspace)
  • Revision ID: clint@ubuntu.com-20120315180543-9jxxm4q10k3np2ws
merging with latest trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#ifndef PLUGIN_SYSLOG_LOGGING_H
22
 
#define PLUGIN_SYSLOG_LOGGING_H
 
21
#pragma once
23
22
 
24
23
#include <drizzled/plugin/logging.h>
25
24
 
32
31
{
33
32
private:
34
33
  int _facility;
35
 
  int _priority;
36
34
  uint64_t _threshold_slow;
37
35
  uint64_t _threshold_big_resultset;
38
36
  uint64_t _threshold_big_examined;
39
37
 
40
 
  Syslog();
41
 
  Syslog(const Syslog&);
42
 
  Syslog& operator=(const Syslog&);
43
 
 
44
38
public:
45
39
  Syslog(const std::string &facility,
46
 
         const std::string &priority,
47
40
         uint64_t threshold_slow,
48
41
         uint64_t threshold_big_resultset,
49
42
         uint64_t threshold_big_examined);
54
47
} /* namespace logging */
55
48
} /* namespace drizzle_plugin */
56
49
 
57
 
#endif /* PLUGIN_SYSLOG_LOGGING_H */