GPS Device
Loading...
Searching...
No Matches
Log Types

Data types used by the log module. More...

Collaboration diagram for Log Types:

Classes

struct  LOG_HANDLE_ts
 Configuration handle for initializing the log subsystem. More...

Enumerations

enum  LOG_LEVEL_te {
  LOG_LEVEL_INFO , LOG_LEVEL_DEBUG , LOG_LEVEL_WARNING , LOG_LEVEL_ERROR ,
  LOG_LEVEL_CRITICAL , LOG_LEVEL_NONE , LOG_LEVEL_COUNT
}
 Log severity levels, in ascending order of severity. More...

Detailed Description

Data types used by the log module.

Enumeration Type Documentation

◆ LOG_LEVEL_te

Log severity levels, in ascending order of severity.

A subsystem's configured level acts as a threshold: only messages at or above that level are printed. LOG_LEVEL_NONE suppresses all output.

Enumerator
LOG_LEVEL_INFO 

Informational messages for normal operation.

LOG_LEVEL_DEBUG 

Detailed diagnostic messages for development.

LOG_LEVEL_WARNING 

Non-critical conditions that may warrant attention.

LOG_LEVEL_ERROR 

Recoverable error conditions.

LOG_LEVEL_CRITICAL 

Severe errors that may compromise system operation.

LOG_LEVEL_NONE 

Suppress all log output for this subsystem.

LOG_LEVEL_COUNT 

Total number of log levels. Not a valid log level.

Definition at line 63 of file log.h.

63 {
LOG_LEVEL_te
Log severity levels, in ascending order of severity.
Definition log.h:63
@ LOG_LEVEL_CRITICAL
Definition log.h:68
@ LOG_LEVEL_DEBUG
Definition log.h:65
@ LOG_LEVEL_ERROR
Definition log.h:67
@ LOG_LEVEL_WARNING
Definition log.h:66
@ LOG_LEVEL_NONE
Definition log.h:69
@ LOG_LEVEL_COUNT
Definition log.h:70
@ LOG_LEVEL_INFO
Definition log.h:64