LexLeo 0.0.0-dev+f8e5087-dirty
Technical documentation
Loading...
Searching...
No Matches
logger_vtbl_t Struct Reference

Adapter dispatch table bound to a logger_t instance. More...

#include <logger_adapters_api.h>

Data Fields

logger_status_t(* log )(void *backend, const char *message)
 
void(* destroy )(void *backend)
 

Detailed Description

This table defines the concrete backend operations used by the generic logger port for message emission and destruction.

A valid vtable must provide all operations.

Definition at line 45 of file logger_adapters_api.h.

Field Documentation

◆ destroy

void(* logger_vtbl_t::destroy) (void *backend)

Backend destroy operation. Must not be NULL.

Definition at line 50 of file logger_adapters_api.h.

◆ log

logger_status_t(* logger_vtbl_t::log) (void *backend, const char *message)

Backend log operation. Must not be NULL.

Definition at line 47 of file logger_adapters_api.h.