added forgotten error fn to logger

This commit is contained in:
gabi 2014-10-19 18:29:05 +03:00
parent e76a365bf1
commit e7c7bf2384

View File

@ -145,6 +145,12 @@ inline c11log::details::line_logger c11log::logger::warn(const Args&... args)
return log(level::WARNING, args...); return log(level::WARNING, args...);
} }
template <typename... Args>
inline c11log::details::line_logger c11log::logger::error(const Args&... args)
{
return log(level::ERROR, args...);
}
template <typename... Args> template <typename... Args>
inline c11log::details::line_logger c11log::logger::critical(const Args&... args) inline c11log::details::line_logger c11log::logger::critical(const Args&... args)
{ {