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

Overview

A set of parameters used for the etcpal_*log() functions.

Data Fields

int action
 What should be done when etcpal_log() or etcpal_vlog() is called.
 
EtcPalLogCallback log_fn
 A callback function for the finished log string(s).
 
EtcPalSyslogParams syslog_params
 The syslog header parameters.
 
int log_mask
 A mask value that determines which priority messages can be logged.
 
EtcPalLogTimeFn time_fn
 A callback function for the etcpal_log() and etcpal_vlog() functions to obtain the time from the application. More...
 
void * context
 Application context that will be passed back with the log callback function.
 

Field Documentation

◆ time_fn

EtcPalLogTimeFn time_fn

A callback function for the etcpal_log() and etcpal_vlog() functions to obtain the time from the application.

If NULL, no timestamp will be added to log messages.


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