Vowpal Wabbit
Public Member Functions | Friends | List of all members
VW::io::logger Struct Reference

#include <logger.h>

Public Member Functions

template<typename FormatString , typename... Args>
void err_info (const FormatString &fmt, Args &&... args)
 
template<typename FormatString , typename... Args>
void err_warn (const FormatString &fmt, Args &&... args)
 
template<typename FormatString , typename... Args>
void err_error (const FormatString &fmt, Args &&... args)
 
template<typename FormatString , typename... Args>
void err_critical (const FormatString &fmt, Args &&... args)
 
template<typename FormatString , typename... Args>
void out_info (const FormatString &fmt, Args &&... args)
 
template<typename FormatString , typename... Args>
void out_warn (const FormatString &fmt, Args &&... args)
 
template<typename FormatString , typename... Args>
void out_error (const FormatString &fmt, Args &&... args)
 
template<typename FormatString , typename... Args>
void out_critical (const FormatString &fmt, Args &&... args)
 
void set_level (log_level lvl)
 
void set_max_output (size_t max)
 
void set_location (output_location location)
 
size_t get_log_count () const
 
void log_summary ()
 

Friends

logger create_default_logger ()
 
logger create_null_logger ()
 
logger create_custom_sink_logger (void *context, void(*func)(void *, const std::string &))
 

Member Function Documentation

◆ err_critical()

template<typename FormatString , typename... Args>
void VW::io::logger::err_critical ( const FormatString &  fmt,
Args &&...  args 
)
inline

◆ err_error()

template<typename FormatString , typename... Args>
void VW::io::logger::err_error ( const FormatString &  fmt,
Args &&...  args 
)
inline

◆ err_info()

template<typename FormatString , typename... Args>
void VW::io::logger::err_info ( const FormatString &  fmt,
Args &&...  args 
)
inline

◆ err_warn()

template<typename FormatString , typename... Args>
void VW::io::logger::err_warn ( const FormatString &  fmt,
Args &&...  args 
)
inline

◆ get_log_count()

size_t VW::io::logger::get_log_count ( ) const

◆ log_summary()

void VW::io::logger::log_summary ( )

◆ out_critical()

template<typename FormatString , typename... Args>
void VW::io::logger::out_critical ( const FormatString &  fmt,
Args &&...  args 
)
inline

◆ out_error()

template<typename FormatString , typename... Args>
void VW::io::logger::out_error ( const FormatString &  fmt,
Args &&...  args 
)
inline

◆ out_info()

template<typename FormatString , typename... Args>
void VW::io::logger::out_info ( const FormatString &  fmt,
Args &&...  args 
)
inline

◆ out_warn()

template<typename FormatString , typename... Args>
void VW::io::logger::out_warn ( const FormatString &  fmt,
Args &&...  args 
)
inline

◆ set_level()

void VW::io::logger::set_level ( log_level  lvl)

◆ set_location()

void VW::io::logger::set_location ( output_location  location)

◆ set_max_output()

void VW::io::logger::set_max_output ( size_t  max)

Friends And Related Function Documentation

◆ create_custom_sink_logger

logger create_custom_sink_logger ( void *  context,
void(*)(void *, const std::string &)  func 
)
friend

◆ create_default_logger

logger create_default_logger ( )
friend

◆ create_null_logger

logger create_null_logger ( )
friend

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