Vowpal Wabbit
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
VW::io::details::logger_impl Class Reference

#include <logger.h>

Public Member Functions

 logger_impl (std::unique_ptr< log_sink > inner_stdout_logger, std::unique_ptr< log_sink > inner_stderr_logger)
 
void err_info (const std::string &message)
 
void err_warn (const std::string &message)
 
void err_error (const std::string &message)
 
void err_critical (const std::string &message)
 
void out_info (const std::string &message)
 
void out_warn (const std::string &message)
 
void out_error (const std::string &message)
 
void out_critical (const std::string &message)
 

Public Attributes

std::unique_ptr< log_sinkstdout_log_sink
 
std::unique_ptr< log_sinkstderr_log_sink
 
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< log_sink inner_stdout_logger,
std::unique_ptr< log_sink inner_stderr_logger 
)

Member Function Documentation

◆ err_critical()

void VW::io::details::logger_impl::err_critical ( const std::string &  message)
inline

◆ err_error()

void VW::io::details::logger_impl::err_error ( const std::string &  message)
inline

◆ err_info()

void VW::io::details::logger_impl::err_info ( const std::string &  message)
inline

◆ err_warn()

void VW::io::details::logger_impl::err_warn ( const std::string &  message)
inline

◆ out_critical()

void VW::io::details::logger_impl::out_critical ( const std::string &  message)
inline

◆ out_error()

void VW::io::details::logger_impl::out_error ( const std::string &  message)
inline

◆ out_info()

void VW::io::details::logger_impl::out_info ( const std::string &  message)
inline

◆ out_warn()

void VW::io::details::logger_impl::out_warn ( const std::string &  message)
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

◆ stderr_log_sink

std::unique_ptr<log_sink> VW::io::details::logger_impl::stderr_log_sink

◆ stdout_log_sink

std::unique_ptr<log_sink> VW::io::details::logger_impl::stdout_log_sink

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