open_iA 2025.6
Loading...
Searching...
No Matches
iALogger.h File Reference
#include "iabase_export.h"

Classes

class  iALogger
 Base interface for logging. More...
 

Enumerations

enum  iALogLevel {
  lvlDebug = 1 , lvlInfo = 2 , lvlWarn = 3 , lvlError = 4 ,
  lvlFatal = 5 , lvlImportant = lvlFatal
}
 Severity of log entries. More...
 

Enumeration Type Documentation

◆ iALogLevel

enum iALogLevel

Severity of log entries.

Values persisted to preferences (see mainwindow)

Enumerator
lvlDebug 

Very detailed information, only useful if trying to find a problem in a specific part of the code.

lvlInfo 

informational, might help users understand what is going on (example: which step of an operation is currently performed)

Something the program didn't necessarily expect, and might have side effects the user should be aware of (example: some parameter was outside of its valid range and was reset to its default value)

lvlWarn 
lvlError 

A problematic situation the user should be aware of, and which probably aborts the current operation, but the program can keep on running (example: file could not be opened)

lvlFatal 

A situation that requires the program to stop (example: no more memory available)

lvlImportant 

Information that should be printed regardless of the log level.