added forgotten error fn to logger
This commit is contained in:
parent
e76a365bf1
commit
e7c7bf2384
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user