mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 11:06:50 +01:00
style fix
This commit is contained in:
@@ -154,7 +154,7 @@ public:
|
|||||||
/// internally for performance reasons.
|
/// internally for performance reasons.
|
||||||
|
|
||||||
template <typename T, typename... Args>
|
template <typename T, typename... Args>
|
||||||
void fatal(const std::string &fmt, T arg1, Args&&... args)
|
void fatal(const std::string& fmt, T arg1, Args&&... args)
|
||||||
{
|
{
|
||||||
log(Poco::format(fmt, arg1, std::forward<Args>(args)...), Message::PRIO_FATAL);
|
log(Poco::format(fmt, arg1, std::forward<Args>(args)...), Message::PRIO_FATAL);
|
||||||
}
|
}
|
||||||
@@ -176,7 +176,7 @@ public:
|
|||||||
/// internally for performance reasons.
|
/// internally for performance reasons.
|
||||||
|
|
||||||
template <typename T, typename... Args>
|
template <typename T, typename... Args>
|
||||||
void critical(const std::string &fmt, T arg1, Args&&... args)
|
void critical(const std::string& fmt, T arg1, Args&&... args)
|
||||||
{
|
{
|
||||||
log(Poco::format(fmt, arg1, std::forward<Args>(args)...), Message::PRIO_CRITICAL);
|
log(Poco::format(fmt, arg1, std::forward<Args>(args)...), Message::PRIO_CRITICAL);
|
||||||
}
|
}
|
||||||
@@ -198,7 +198,7 @@ public:
|
|||||||
/// internally for performance reasons.
|
/// internally for performance reasons.
|
||||||
|
|
||||||
template <typename T, typename... Args>
|
template <typename T, typename... Args>
|
||||||
void error(const std::string &fmt, T arg1, Args&&... args)
|
void error(const std::string& fmt, T arg1, Args&&... args)
|
||||||
{
|
{
|
||||||
log(Poco::format(fmt, arg1, std::forward<Args>(args)...), Message::PRIO_ERROR);
|
log(Poco::format(fmt, arg1, std::forward<Args>(args)...), Message::PRIO_ERROR);
|
||||||
}
|
}
|
||||||
@@ -220,7 +220,7 @@ public:
|
|||||||
/// internally for performance reasons.
|
/// internally for performance reasons.
|
||||||
|
|
||||||
template <typename T, typename... Args>
|
template <typename T, typename... Args>
|
||||||
void warning(const std::string &fmt, T arg1, Args&&... args)
|
void warning(const std::string& fmt, T arg1, Args&&... args)
|
||||||
{
|
{
|
||||||
log(Poco::format(fmt, arg1, std::forward<Args>(args)...), Message::PRIO_WARNING);
|
log(Poco::format(fmt, arg1, std::forward<Args>(args)...), Message::PRIO_WARNING);
|
||||||
}
|
}
|
||||||
@@ -242,7 +242,7 @@ public:
|
|||||||
/// internally for performance reasons.
|
/// internally for performance reasons.
|
||||||
|
|
||||||
template <typename T, typename... Args>
|
template <typename T, typename... Args>
|
||||||
void notice(const std::string &fmt, T arg1, Args&&... args)
|
void notice(const std::string& fmt, T arg1, Args&&... args)
|
||||||
{
|
{
|
||||||
log(Poco::format(fmt, arg1, std::forward<Args>(args)...), Message::PRIO_NOTICE);
|
log(Poco::format(fmt, arg1, std::forward<Args>(args)...), Message::PRIO_NOTICE);
|
||||||
}
|
}
|
||||||
@@ -264,7 +264,7 @@ public:
|
|||||||
/// internally for performance reasons.
|
/// internally for performance reasons.
|
||||||
|
|
||||||
template <typename T, typename... Args>
|
template <typename T, typename... Args>
|
||||||
void information(const std::string &fmt, T arg1, Args&&... args)
|
void information(const std::string& fmt, T arg1, Args&&... args)
|
||||||
{
|
{
|
||||||
log(Poco::format(fmt, arg1, std::forward<Args>(args)...), Message::PRIO_INFORMATION);
|
log(Poco::format(fmt, arg1, std::forward<Args>(args)...), Message::PRIO_INFORMATION);
|
||||||
}
|
}
|
||||||
@@ -286,7 +286,7 @@ public:
|
|||||||
/// internally for performance reasons.
|
/// internally for performance reasons.
|
||||||
|
|
||||||
template <typename T, typename... Args>
|
template <typename T, typename... Args>
|
||||||
void debug(const std::string &fmt, T arg1, Args&&... args)
|
void debug(const std::string& fmt, T arg1, Args&&... args)
|
||||||
{
|
{
|
||||||
log(Poco::format(fmt, arg1, std::forward<Args>(args)...), Message::PRIO_DEBUG);
|
log(Poco::format(fmt, arg1, std::forward<Args>(args)...), Message::PRIO_DEBUG);
|
||||||
}
|
}
|
||||||
@@ -308,7 +308,7 @@ public:
|
|||||||
/// internally for performance reasons.
|
/// internally for performance reasons.
|
||||||
|
|
||||||
template <typename T, typename... Args>
|
template <typename T, typename... Args>
|
||||||
void trace(const std::string &fmt, T arg1, Args&&... args)
|
void trace(const std::string& fmt, T arg1, Args&&... args)
|
||||||
{
|
{
|
||||||
log(Poco::format(fmt, arg1, std::forward<Args>(args)...), Message::PRIO_TRACE);
|
log(Poco::format(fmt, arg1, std::forward<Args>(args)...), Message::PRIO_TRACE);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user