Vowpal Wabbit
Public Member Functions | Public Attributes | List of all members
VW::io::details::logger_impl Struct Reference

#include <logger.h>

Public Member Functions

 logger_impl (std::unique_ptr< spdlog::logger > inner_stdout_logger, std::unique_ptr< spdlog::logger > inner_stderr_logger)
 
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)
 

Public Attributes

std::unique_ptr< spdlog::logger > _spdlog_stdout_logger
 
std::unique_ptr< spdlog::logger > _spdlog_stderr_logger
 
size_t _max_limit = SIZE_MAX
 
size_t _log_count = 0
 
output_location _location = output_location::compat
 

Constructor & Destructor Documentation

◆ logger_impl()

VW::io::details::logger_impl::logger_impl ( std::unique_ptr< spdlog::logger >  inner_stdout_logger,
std::unique_ptr< spdlog::logger >  inner_stderr_logger 
)
inline

Member Function Documentation

◆ err_critical()

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

◆ err_error()

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

◆ err_info()

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

◆ err_warn()

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

◆ out_critical()

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

◆ out_error()

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

◆ out_info()

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

◆ out_warn()

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

Member Data Documentation

◆ _location

output_location VW::io::details::logger_impl::_location = output_location::compat

◆ _log_count

size_t VW::io::details::logger_impl::_log_count = 0

◆ _max_limit

size_t VW::io::details::logger_impl::_max_limit = SIZE_MAX

◆ _spdlog_stderr_logger

std::unique_ptr<spdlog::logger> VW::io::details::logger_impl::_spdlog_stderr_logger

◆ _spdlog_stdout_logger

std::unique_ptr<spdlog::logger> VW::io::details::logger_impl::_spdlog_stdout_logger

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