microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Public Attributes | List of all members
microfmt::log::log_sink::vtable Struct Reference

Virtual table of log sink operations. More...

#include <sink.hpp>

Public Attributes

void(* log )(void *ctx, const log_msg &msg) noexcept = nullptr
 Emits a record. See log_sink::log.
 
void(* flush )(void *ctx) noexcept = nullptr
 Flushes buffered output. nullptr for backends whose traits omit flush. See log_sink::flush.
 

Detailed Description

Virtual table of log sink operations.

Member Data Documentation

◆ flush

void(* microfmt::log::log_sink::vtable::flush) (void *ctx) noexcept = nullptr
noexcept

Flushes buffered output. nullptr for backends whose traits omit flush. See log_sink::flush.

◆ log

void(* microfmt::log::log_sink::vtable::log) (void *ctx, const log_msg &msg) noexcept = nullptr
noexcept

Emits a record. See log_sink::log.


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