Vowpal Wabbit
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
VW::io::details::function_ptr_sink< Mutex > Class Template Reference

#include <logger.h>

Inheritance diagram for VW::io::details::function_ptr_sink< Mutex >:

Public Member Functions

 function_ptr_sink (void *context, logger_output_func_t func)
 

Protected Member Functions

void sink_it_ (const spdlog::details::log_msg &msg) override
 
void flush_ () override
 

Protected Attributes

logger_output_func_t _func
 
void * _context
 

Constructor & Destructor Documentation

◆ function_ptr_sink()

template<typename Mutex >
VW::io::details::function_ptr_sink< Mutex >::function_ptr_sink ( void *  context,
logger_output_func_t  func 
)
inline

Member Function Documentation

◆ flush_()

template<typename Mutex >
void VW::io::details::function_ptr_sink< Mutex >::flush_ ( )
inlineoverrideprotected

◆ sink_it_()

template<typename Mutex >
void VW::io::details::function_ptr_sink< Mutex >::sink_it_ ( const spdlog::details::log_msg &  msg)
inlineoverrideprotected

Member Data Documentation

◆ _context

template<typename Mutex >
void* VW::io::details::function_ptr_sink< Mutex >::_context
protected

◆ _func

template<typename Mutex >
logger_output_func_t VW::io::details::function_ptr_sink< Mutex >::_func
protected

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