![]() |
Kea 3.1.1
|
Classes | |
class | LegalSyslog |
class | RotatingFile |
RotatingFile implements an appending text file which rotates to a new file on a daily basis. More... | |
struct | RotatingFileInit |
Initialization structure used to register and deregister RotateFile Forensic Log Mgr. More... | |
Functions | |
template<typename SubnetPtrType> | |
bool | isLoggingDisabled (const SubnetPtrType &subnet) |
Checks if legal logging is disabled for a subnet. | |
Variables | |
isc::log::Logger | legal_log_logger ("legal-log-hooks") |
Legal Log Logger. | |
bool isc::legal_log::isLoggingDisabled | ( | const SubnetPtrType & | subnet | ) |
Checks if legal logging is disabled for a subnet.
subnet | pointer to a subnet (v4 or v6). |
SubnetPtrType | Type of the subnet pointer: Subnet4Ptr or Subnet6Ptr . |
Definition at line 18 of file subnets_user_context.h.
References isc::data::Element::boolean, and isc::data::Element::map.
Referenced by checkLoggingEnabledSubnet4(), checkLoggingEnabledSubnet6(), legalLog4Handler(), and legalLog6Handler().
isc::log::Logger isc::legal_log::legal_log_logger | ( | "legal-log-hooks" | ) |
Legal Log Logger.
Define the logger used to log messages. We could define it in multiple modules, but defining in a single module and linking to it saves time and space.
Definition at line 22 of file legal_log_log.h.
Referenced by isc::legal_log::RotatingFile::close(), command_processed(), isc::legal_log::LegalSyslog::factory(), isc::legal_log::RotatingFile::factory(), handleLease4Cmds(), handleLease6Cmds(), legalLog4Handler(), legalLog6Handler(), load(), isc::legal_log::RotatingFile::openInternal(), and unload().