44 virtual void writeln(
const std::string& text,
const std::string& addr);
51 virtual std::string
getType()
const;
55 std::shared_ptr<isc::log::Logger> logger_;
std::map< std::string, std::string > ParameterMap
Database configuration parameter map.
LegalLogMgr abstract class.
virtual std::string getType() const
Return backend type.
LegalSyslog(const isc::db::DatabaseConnection::ParameterMap ¶meters)
Constructor.
virtual void writeln(const std::string &text, const std::string &addr)
Appends a string to the store with a timestamp and address.
static isc::dhcp::LegalLogMgrPtr factory(const isc::db::DatabaseConnection::ParameterMap ¶meters)
Factory class method.
virtual void close()
Closes the store.
virtual void open()
Opens the store.
virtual ~LegalSyslog()=default
Destructor.
boost::shared_ptr< LegalLogMgr > LegalLogMgrPtr
Defines a smart pointer to a LegalLogMgr.
Defines the logger used by the top-level component of kea-lfc.