34 #ifndef EMANELOGSERVICE_HEADER_ 35 #define EMANELOGSERVICE_HEADER_ 89 std::atomic<LogLevel> level_;
93 std::uint32_t u32LogSequenceNumber_;
97 std::ostream * pStream_;
103 void processControlMessages();
105 bool isLogAllowed(
LogLevel level)
const;
107 void vlog_i(
LogLevel level,
const char *format,va_list ap);
111 void log_i(
LogLevel level,
const char *format, ...)
114 void writeLogString(
const char * pzLogMessage);
120 #endif //EMANELOGSERVICE_HEADER_
void void vlog(LogLevel level, const char *format, va_list ap)
Ensure a class only has one instance, and provide a global point of access to it. ...
void log(LogLevel level, const char *format,...) __attribute__((format(printf
Log service provider interface.
EMANE::NetworkAdapterException __attribute__
void redirectLogsToFile(const std::string &file)
std::list< std::string > Strings
void setLogLevel(LogLevel level)