hadean::log::logger< T > Struct Template Reference

#include <logger.hh>

Public Types

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

Public Member Functions

constexpr logger (const location_type loc, impl_type *logger_impl_, 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

impl_typelogger_impl
 
const location_type location
 
const level_type level
 

Member Typedef Documentation

template<typename T >
using hadean::log::logger< T >::impl_type = T
template<typename T >
using hadean::log::logger< T >::level_type = logging::level
template<typename T >
using hadean::log::logger< T >::location_type = logging::location

Constructor & Destructor Documentation

template<typename T >
constexpr hadean::log::logger< T >::logger ( const location_type  loc,
impl_type logger_impl_,
level_type  level_ 
)
inline

Member Function Documentation

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

Member Data Documentation

template<typename T >
const level_type hadean::log::logger< T >::level
template<typename T >
const location_type hadean::log::logger< T >::location
template<typename T >
impl_type* hadean::log::logger< T >::logger_impl