class ulog::IgnorantHandler
Overview
Log handler that ignores and discards all log messages. More…
#include <Ulog.h> class IgnorantHandler: public ulog::LogHandler { public: // construction IgnorantHandler(); IgnorantHandler(ulog::Entry::Type maximal_ignored_type); // methods void AddMessage(ulog::Entry::Type, ulog::Category, const std::string&, const std::string&); };
Inherited Members
public: // methods virtual void AddMessage(ulog::Entry::Type type, ulog::Category categ, const std::string& msg, const std::string& caller) = 0;
Detailed Documentation
Log handler that ignores and discards all log messages.
Construction
IgnorantHandler(ulog::Entry::Type maximal_ignored_type)
Creates the ignorant log handler, that ignores all messages with specied type or lower.
Methods
void AddMessage(ulog::Entry::Type, ulog::Category, const std::string&, const std::string&)
Add message to the handler.