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

Private backend handle for the logger_default adapter. More...

#include <logger_default_handle.h>

Collaboration diagram for logger_default_t:

Data Fields

stream_tstream
 
const osal_time_ops_ttime_ops
 
bool append_newline
 
const osal_mem_ops_tmem
 

Detailed Description

This structure stores:

  • the target stream used by the adapter,
  • the time operations used to obtain timestamps,
  • the adapter runtime behavior flags,
  • the memory operations used for backend destruction.

Definition at line 35 of file logger_default_handle.h.

Field Documentation

◆ append_newline

bool logger_default_t::append_newline

Whether the backend appends a trailing newline to emitted messages.

Definition at line 43 of file logger_default_handle.h.

◆ mem

const osal_mem_ops_t* logger_default_t::mem

Memory operations used to destroy the backend handle.

Definition at line 46 of file logger_default_handle.h.

◆ stream

stream_t* logger_default_t::stream

Target stream used by the backend.

Definition at line 37 of file logger_default_handle.h.

◆ time_ops

const osal_time_ops_t* logger_default_t::time_ops

Time operations used to obtain timestamps for emitted log records.

Definition at line 40 of file logger_default_handle.h.