Andrew Reed / Mbed OS CITY1082-i2c_master_wifi_mqtt
Embed: (wiki syntax)

« Back to documentation index

Group_logging_enums

Group_logging_enums

Documentation of the enums provided by logging utility. More...

Enumerations

enum  CY_LOG_LEVEL_T {
  CY_LOG_OFF = 0, CY_LOG_ERR, CY_LOG_WARNING, CY_LOG_NOTICE,
  CY_LOG_INFO, CY_LOG_DEBUG, CY_LOG_DEBUG1, CY_LOG_DEBUG2,
  CY_LOG_DEBUG3, CY_LOG_DEBUG4
}
 

Logging levels.

More...
enum  CY_LOG_FACILITY_T {
  CYLF_DEF = 0, CYLF_TEST, CYLF_DRIVER, CYLF_LP,
  CYLF_MIDDLEWARE, CYLF_AUDIO, CYLF_MAX
}
 

Log Facility type Log facilities allow for separate subsystems to have different run-time log levels for output.

More...

Detailed Description

Documentation of the enums provided by logging utility.


Enumeration Type Documentation

Log Facility type Log facilities allow for separate subsystems to have different run-time log levels for output.

This allows for someone working in the Driver subsystem to turn on DEBUG level without turning DEBUG level for middleware - makes for less unwanted output during debugging / testing.

Enumerator:
CYLF_DEF 

General log message not associated with any specific Facility.

CYLF_TEST 

Test Facility.

CYLF_DRIVER 

Driver Facility.

CYLF_LP 

Low Power Facility.

CYLF_MIDDLEWARE 

Middleware Facility.

CYLF_AUDIO 

Audio Facility.

CYLF_MAX 

Must be last, not an actual index.

Definition at line 154 of file cy_log.h.

Logging levels.

NOTE: Default value for all facilities is passed in to init call

Enumerator:
CY_LOG_OFF 

Do not print log messages.

CY_LOG_ERR 

Print log message if run-time level is <= CY_LOG_ERR.

CY_LOG_WARNING 

Print log message if run-time level is <= CY_LOG_WARNING.

CY_LOG_NOTICE 

Print log message if run-time level is <= CY_LOG_NOTICE.

CY_LOG_INFO 

Print log message if run-time level is <= CY_LOG_INFO.

CY_LOG_DEBUG 

Print log message if run-time level is <= CY_LOG_DEBUG.

CY_LOG_DEBUG1 

Print log message if run-time level is <= CY_LOG_DEBUG1.

CY_LOG_DEBUG2 

Print log message if run-time level is <= CY_LOG_DEBUG2.

CY_LOG_DEBUG3 

Print log message if run-time level is <= CY_LOG_DEBUG3.

CY_LOG_DEBUG4 

Print log message if run-time level is <= CY_LOG_DEBUG4.

Definition at line 131 of file cy_log.h.