[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-4-0' - common/Log.cpp

Ashod Nakashian (via logerrit) logerrit at kemper.freedesktop.org
Thu Oct 10 14:27:09 UTC 2019


 common/Log.cpp |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 48387b00077b9baa72508c05e3fc3228a4569998
Author:     Ashod Nakashian <ashod.nakashian at collabora.co.uk>
AuthorDate: Sun Sep 29 17:00:56 2019 -0400
Commit:     Jan Holesovsky <kendy at 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 <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Jan Holesovsky <kendy at 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());
 


More information about the Libreoffice-commits mailing list