PebbleOS v4.44.0-79-gafcb109f5
Loading...
Searching...
No Matches
pbl_log_backend_api Struct Reference

Backend operations. More...

#include <backend.h>

Data Fields

void(* init )(const struct pbl_log_backend *backend)
 Initialize the backend, from pbl_log_init.
 
void(* process )(const struct pbl_log_backend *backend, const struct pbl_log_msg *msg)
 Write a message.
 
void(* panic )(const struct pbl_log_backend *backend)
 Write out every pending message, the system is about to stop.
 

Detailed Description

Backend operations.

Field Documentation

◆ init

void(* pbl_log_backend_api::init) (const struct pbl_log_backend *backend)

Initialize the backend, from pbl_log_init.

Optional.

◆ panic

void(* pbl_log_backend_api::panic) (const struct pbl_log_backend *backend)

Write out every pending message, the system is about to stop.

Optional.

◆ process

void(* pbl_log_backend_api::process) (const struct pbl_log_backend *backend, const struct pbl_log_msg *msg)

Write a message.


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