added forgotten error fn to logger

This commit is contained in:
gabi 2014-10-19 18:29:05 +03:00
parent e76a365bf1
commit e7c7bf2384
1 changed files with 6 additions and 0 deletions

View File

@ -145,6 +145,12 @@ inline c11log::details::line_logger c11log::logger::warn(const Args&... 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>
inline c11log::details::line_logger c11log::logger::critical(const Args&... args)
{