Code forensics  0.1
Generate historical information about code changes
logging.cpp File Reference
#include "logging.hpp"
Include dependency graph for logging.cpp:

Functions

BlockProgressBar init_progress (int max, int width)
 
void tick_next (BlockProgressBar &bar, int &count, int max, CR< Str > name, CR< Str > extra)
 
void log_formatter (const boost::log::record_view &rec, boost::log::formatting_ostream &strm)
 
Pair< char, fmt::v9::text_style > format_style (boost::log::severity level)
 
void out_formatter (const boost::log::record_view &rec, boost::log::formatting_ostream &strm)
 
boost::shared_ptr< sink_tcreate_file_sink (CR< Str > outfile)
 
boost::shared_ptr< sink_tcreate_std_sink ()
 
void init_logger_properties ()
 

Function Documentation

◆ create_file_sink()

boost::shared_ptr<sink_t> create_file_sink ( CR< Str >  outfile)

◆ create_std_sink()

boost::shared_ptr<sink_t> create_std_sink ( )

◆ format_style()

Pair<char, fmt::v9::text_style> format_style ( boost::log::severity  level)

◆ init_logger_properties()

void init_logger_properties ( )

◆ init_progress()

BlockProgressBar init_progress ( int  max,
int  width 
)

◆ log_formatter()

void log_formatter ( const boost::log::record_view &  rec,
boost::log::formatting_ostream &  strm 
)

◆ out_formatter()

void out_formatter ( const boost::log::record_view &  rec,
boost::log::formatting_ostream &  strm 
)

◆ tick_next()

void tick_next ( BlockProgressBar &  bar,
int &  count,
int  max,
CR< Str >  name,
CR< Str >  extra 
)