LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
Loading...
Searching...
No Matches
log_api.h File Reference

Minimal logging facade for embedded targets. More...

#include "juno/macros.h"
#include "juno/status.h"
#include "juno/module.h"
Include dependency graph for log_api.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  JUNO_LOG_API_TAG
 

Typedefs

typedef struct JUNO_LOG_API_TAG JUNO_LOG_API_T
 
typedef struct JUNO_LOG_ROOT_TAG JUNO_LOG_ROOT_T
 

Functions

struct JUNO_LOG_ROOT_TAG JUNO_MODULE_ROOT (JUNO_LOG_API_T, JUNO_MODULE_EMPTY)
 
static JUNO_STATUS_T JunoLog_LogInit (JUNO_LOG_ROOT_T *ptLog, const JUNO_LOG_API_T *ptApi, JUNO_FAILURE_HANDLER_T pfcnFailureHandler, JUNO_USER_DATA_T *pvUserData)
 Initialize a log instance with an API implementation and failure handler.
 

Detailed Description

Minimal logging facade for embedded targets.

This API has been generated by LibJuno: https://www.robinonsay.com/libjuno/

Typedef Documentation

◆ JUNO_LOG_API_T

◆ JUNO_LOG_ROOT_T

typedef struct JUNO_LOG_ROOT_TAG JUNO_LOG_ROOT_T

Function Documentation

◆ JUNO_MODULE_ROOT()

struct JUNO_LOG_ROOT_TAG JUNO_MODULE_ROOT ( JUNO_LOG_API_T  ,
JUNO_MODULE_EMPTY   
)

◆ JunoLog_LogInit()

static JUNO_STATUS_T JunoLog_LogInit ( JUNO_LOG_ROOT_T ptLog,
const JUNO_LOG_API_T ptApi,
JUNO_FAILURE_HANDLER_T  pfcnFailureHandler,
JUNO_USER_DATA_T pvUserData 
)
inlinestatic

Initialize a log instance with an API implementation and failure handler.