OpenCPN Partial API docs
Loading...
Searching...
No Matches
TimedLogFilter Class Reference

Filter logging repeated message with specified interval. More...

#include <logger.h>

Public Member Functions

 TimedLogFilter (const std::chrono::seconds &interval, wxLogLevel level=wxLOG_Message)
 
void Log (const std::string &message)
 Log a repeated message after interval seconds.
 

Detailed Description

Filter logging repeated message with specified interval.

Definition at line 145 of file logger.h.

Constructor & Destructor Documentation

◆ TimedLogFilter()

TimedLogFilter::TimedLogFilter ( const std::chrono::seconds &  interval,
wxLogLevel  level = wxLOG_Message 
)
inline

Definition at line 147 of file logger.h.

Member Function Documentation

◆ Log()

void TimedLogFilter::Log ( const std::string &  message)

Log a repeated message after interval seconds.

Definition at line 152 of file logger.cpp.


The documentation for this class was generated from the following files: