35 template <
typename Function>
45 template <
typename Function>
52 vsnprintf(buff,
sizeof(buff),fmt,ap);
56 strings.push_front(buff);
63 template <
typename Function>
74 vsnprintf(buff,
sizeof(buff),fmt,ap);
80 strings.push_front(buff);
virtual bool isLogAllowed(LogLevel level) const =0
std::uint8_t buff[ETH_ALEN]
std::list< std::string > Strings
virtual void log_i(LogLevel level, const Strings &strings)=0
void logfn(LogLevel level, Function fn)