24#ifndef CENTRAL_REPORT_HPP
25#define CENTRAL_REPORT_HPP
42#include <libthreadar/libthreadar.hpp>
48enum priority_t { crit, err, warning, notice, info, debug };
62 void report(priority_t priority,
const std::string & message);
65 virtual void inherited_report(priority_t priority,
const std::string & message) = 0;
69 static libthreadar::mutex access;
80 virtual void inherited_report(priority_t priority,
const std::string & message)
override;
92 virtual void inherited_report(priority_t priority,
const std::string & message)
override;
98 static unsigned int num_obj;
99 static libthreadar::mutex num_obj_mod;
implements a central_report logging centralization which output the logs on stdout
Definition: central_report.hpp:75
implements a central_report logging centralization which send logs to syslog
Definition: central_report.hpp:86
pure virtual class defining the common interface of log centralization implementations
Definition: central_report.hpp:53