mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
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...);
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user