7#include <QStandardPaths>
8#include <QListWidgetItem>
11#include <ui_mainwindow.h>
72#define DEFAULT_MAXIMUM_LOG_LINES 20000
83 explicit Logger(Ui::MainWindow* UI_Window);
void UpdateMaxLogLines(int Value)
void SaveModeMask(int ModeMask)
Save the Log Mode Mask.
Ui::MainWindow * ui
Pointer the Main Program Window.
void CountChanged(int counter)
A Signal to flag a change in the Number of Log Lines.
void ClearLog(void)
Clear the lines from the Log.
int maximum_log_lines
The maximum number of lines the log will retain.
void LogModeNone(void)
Turn All Modes Off.
void Add(LOGGING_SEVERITY Severity, LOGGING_MODE Mode, const QString LogMessage)
Add a Line to Log (in it matches the current settings)
int current_severity_mask
Mask holding currently active severity levels.
void SaveLogSettings(void)
void PresetLogMode(bool OnOff)
Preset all of the Modes.
Logger(Ui::MainWindow *UI_Window)
The Log Constructor.
int current_mode_mask
Mask holding currently active modes.
void ReadSeverityMask(bool Unused)
Set the Severity Mask, based on window buttons.
void LogModeAll(void)
Turn All Modes On.
void SetMaxLines(int MaxLogLines)
Set the maximum number of lines the log will retain.
void ReadModeMask(bool Unused)
Set the Mode Mask, based on window buttons.
void LoadLogSettings(void)
QStringList severity_name_list
This list holds the names of the valid severity levels.
void PresetLogSeverity(bool OnOff)
Preset all of the Log Severity Levels.
void LogItemsUnhide(void)
~Logger()
The Log Destructor.
void LogSeverityNone(void)
Turn All Severities Off.
QStringList mode_name_list
This list holds the names of the valid modes.
void LogSeverityAll(void)
Turn All Severities On.
void RemoteLog(REMOTE_LOG_ENTRY LogEntry)
Receiver a Log Entry via a Public Slot.
void SaveSeverityMask(int SeverityMask)
Save the Log Severity Mask.
QStringList icon_name_list
This list holds the names of the severity level icons.
void SaveLog(void)
Save the Log Lines to a File.
void LogSelectItem(QListWidgetItem *Item)
LOGGING_SEVERITY
Log Severity allow the selection of logging events based on Severity.
LOGGING_MODE
Log Severity allow the selection of logging events based on the mode.
LOGGING_SEVERITY Severity