hadean::log::default_logger Struct Reference

#include <logger.hh>

Public Types

using location_type = logging::location
 
using level_type = logging::level
 

Public Member Functions

constexpr default_logger (const location_type loc, level_type level_)
 
template<typename... Args>
void operator() (Args &&...args) const
 
template<typename... Args>
void format (const std::string &fs, Args &&...args) const
 
template<typename... Args>
void printf (const std::string &fs, Args &&...args) const
 

Public Attributes

const location_type location
 
const level_type level
 

Member Typedef Documentation

using hadean::log::default_logger::location_type = logging::location

Constructor & Destructor Documentation

constexpr hadean::log::default_logger::default_logger ( const location_type  loc,
level_type  level_ 
)
inline

Member Function Documentation

template<typename... Args>
void hadean::log::default_logger::format ( const std::string &  fs,
Args &&...  args 
) const
inline
template<typename... Args>
void hadean::log::default_logger::operator() ( Args &&...  args) const
inline
template<typename... Args>
void hadean::log::default_logger::printf ( const std::string &  fs,
Args &&...  args 
) const
inline

Member Data Documentation

const level_type hadean::log::default_logger::level
const location_type hadean::log::default_logger::location