Kea 2.7.6
|
Database logger class. More...
#include <db_log.h>
Public Types | |
typedef std::map< DbMessageID, isc::log::MessageID > | MessageMap |
Translation map type. | |
Public Member Functions | |
DbLogger (isc::log::Logger &logger, const MessageMap &map) | |
Constructor. | |
const isc::log::MessageID & | translateMessage (const DbMessageID &id) const |
Translate message. | |
Public Attributes | |
isc::log::Logger & | logger_ |
The logger. | |
const MessageMap & | map_ |
The translation map. | |
|
inline |
const MessageID & isc::db::DbLogger::translateMessage | ( | const DbMessageID & | id | ) | const |
Translate message.
id | database message id |
Unexpected | if the id is not in the message map |
isc::log::Logger& isc::db::DbLogger::logger_ |
const MessageMap& isc::db::DbLogger::map_ |