25#ifndef DATA_MONITOR_DLG__
26#define DATA_MONITOR_DLG__
35#include "std_filesystem.h"
39 enum class Format { kVdr, kDefault, kCsv };
41 DataLogger(wxWindow* parent,
const fs::path& path);
45 void SetLogging(
bool logging);
47 void SetLogfile(
const fs::path& path);
51 void SetFormat(Format format);
53 fs::path GetLogfile() {
return m_path; }
58 std::ofstream m_stream;
62 fs::path DefaultLogfile();
71 void Add(std::string msg);
78 void OnFilterListChange();
79 void OnFilterUpdate(
const std::string& name);
80 void OnFilterApply(
const std::string& name);
83 wxWindow* m_quick_filter;
Create a stream of input messages.
Overall logging handler, outputs to screen and log file.
bool IsActive() const override
Return true if log is visible i.
void Add(std::string msg)
Add an input line to log output.
Define an action to be performed when a KeyProvider is notified.
Provide a data stream of input messages for the Data Monitor.