[Libreoffice-commits] online.git: common/Log.cpp
Ashod Nakashian (via logerrit)
logerrit at kemper.freedesktop.org
Mon Oct 28 09:45:53 UTC 2019
common/Log.cpp | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 5dc8e815c4b9d5b09a90411df8ed2780c78abd59
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
AuthorDate: Sun Sep 29 17:00:56 2019 -0400
Commit: Michael Meeks <michael.meeks at collabora.com>
CommitDate: Mon Oct 28 10:45:31 2019 +0100
wsd: logging: color trace differently to improve readability
Change-Id: I5127061f4d62122d07bad32d4757569f1a9cc877
Reviewed-on: https://gerrit.libreoffice.org/80321
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
(cherry picked from commit 48387b00077b9baa72508c05e3fc3228a4569998)
Reviewed-on: https://gerrit.libreoffice.org/81559
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
Tested-by: Michael Meeks <michael.meeks at collabora.com>
diff --git a/common/Log.cpp b/common/Log.cpp
index 18a0137f5..00d047e86 100644
--- a/common/Log.cpp
+++ b/common/Log.cpp
@@ -174,7 +174,10 @@ namespace Log
}
}
else if (withColor)
+ {
channel = static_cast<Poco::Channel*>(new Poco::ColorConsoleChannel());
+ channel->setProperty("traceColor", "green");
+ }
else
channel = static_cast<Poco::Channel*>(new Poco::ConsoleChannel());
More information about the Libreoffice-commits
mailing list