common/Log.cpp | 3 +++ 1 file changed, 3 insertions(+) New commits: commit 48387b00077b9baa72508c05e3fc3228a4569998 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> AuthorDate: Sun Sep 29 17:00:56 2019 -0400 Commit: Jan Holesovsky <ke...@collabora.com> CommitDate: Thu Oct 10 16:26:51 2019 +0200
wsd: logging: color trace differently to improve readability Change-Id: I5127061f4d62122d07bad32d4757569f1a9cc877 Reviewed-on: https://gerrit.libreoffice.org/80321 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Jan Holesovsky <ke...@collabora.com> diff --git a/common/Log.cpp b/common/Log.cpp index 617e26eca..36cd9c126 100644 --- a/common/Log.cpp +++ b/common/Log.cpp @@ -160,7 +160,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()); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits