summaryrefslogtreecommitdiff
path: root/test/UnitTimeout.cpp
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2018-01-14 20:39:06 -0500
committerAshod Nakashian <ashnakash@gmail.com>2018-01-19 00:33:40 +0100
commitc06376cc1d2e3a331e133140fc359f73783cea0e (patch)
treeddc084bf82cf4e5014e306eebb6efe104e9ef843 /test/UnitTimeout.cpp
parent13e28686016c033ae5060a65aa12c2400e9567c2 (diff)
wsd: cleanup logging and remove unused helpers
Now all logging is done after checking if the level in question is enabled or not (thanks to the macros LOG_XXX), which saves unnecessary conversions and stringification when said level is disabled. Change-Id: Icde31e067f60269563896f04f8b0d65643720766 Reviewed-on: https://gerrit.libreoffice.org/47885 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'test/UnitTimeout.cpp')
-rw-r--r--test/UnitTimeout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/UnitTimeout.cpp b/test/UnitTimeout.cpp
index 0097d6357..6c9a05194 100644
--- a/test/UnitTimeout.cpp
+++ b/test/UnitTimeout.cpp
@@ -37,7 +37,7 @@ public:
{
if (!_timedOut)
{
- Log::info("Failed to timeout");
+ LOG_INF("Failed to timeout");
retValue = Poco::Util::Application::EXIT_SOFTWARE;
}
else