EtcPal  HEAD (unstable)
ETC Platform Abstraction Layer (EtcPal)
View other versions:
EtcPalLogStrings Struct Reference

Overview

The set of log strings passed with a call to an etcpal_log_callback function.

Any members not requested in the corresponding EtcPalLogParams struct will be NULL.

Data Fields

const char * syslog
 Log string formatted compliant to RFC 5424.
 
const char * legacy_syslog
 Log string formatted compliant to RFC 3164.
 
const char * human_readable
 Log string formatted for readability per ETC convention.
 
const char * raw
 The original log string that was passed to etcpal_log() or etcpal_vlog(). More...
 
int priority
 The original log priority that was passed to etcpal_log() or etcpal_vlog(). More...
 

Field Documentation

◆ priority

int priority

The original log priority that was passed to etcpal_log() or etcpal_vlog().

Useful if this log message is being passed to a system syslog daemon.

◆ raw

const char* raw

The original log string that was passed to etcpal_log() or etcpal_vlog().

Will overlap with one of the strings above.


The documentation for this struct was generated from the following file: