diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2018-01-14 20:39:06 -0500 |
---|---|---|
committer | Ashod Nakashian <ashnakash@gmail.com> | 2018-01-19 00:33:40 +0100 |
commit | c06376cc1d2e3a331e133140fc359f73783cea0e (patch) | |
tree | ddc084bf82cf4e5014e306eebb6efe104e9ef843 /test/UnitTimeout.cpp | |
parent | 13e28686016c033ae5060a65aa12c2400e9567c2 (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.cpp | 2 |
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 |