@ -101,6 +101,12 @@ inline spdlog::details::line_logger spdlog::logger::info(const Args&... args)
return log ( level : : INFO , args . . . ) ;
return log ( level : : INFO , args . . . ) ;
}
}
template < typename . . . Args >
inline spdlog : : details : : line_logger spdlog : : logger : : notice ( const Args & . . . args )
{
return log ( level : : NOTICE , args . . . ) ;
}
template < typename . . . Args >
template < typename . . . Args >
inline spdlog : : details : : line_logger spdlog : : logger : : warn ( const Args & . . . args )
inline spdlog : : details : : line_logger spdlog : : logger : : warn ( const Args & . . . args )
{
{
@ -119,6 +125,18 @@ inline spdlog::details::line_logger spdlog::logger::critical(const Args&... args
return log ( level : : CRITICAL , args . . . ) ;
return log ( level : : CRITICAL , args . . . ) ;
}
}
template < typename . . . Args >
inline spdlog : : details : : line_logger spdlog : : logger : : alert ( const Args & . . . args )
{
return log ( level : : ALERT , args . . . ) ;
}
template < typename . . . Args >
inline spdlog : : details : : line_logger spdlog : : logger : : emerg ( const Args & . . . args )
{
return log ( level : : EMERG , args . . . ) ;
}
inline const std : : string & spdlog : : logger : : name ( ) const
inline const std : : string & spdlog : : logger : : name ( ) const
{
{
return _name ;
return _name ;