unity-dev team mailing list archive
-
unity-dev team
-
Mailing list archive
-
Message #00699
Re: LOG_DEBUG output and System Indicators?
Il 28/07/2015 22:26, Mohsen Ibrahim ha scritto:
>
>
> ------------------------------------------------------------------------
> From: mohsen47@xxxxxxxxxxxxx
> To: marco.trevisan@xxxxxxxxxxxxx; unity-dev@xxxxxxxxxxxxxxxxxxx
> Date: Tue, 28 Jul 2015 09:53:38 +0000
> Subject: Re: [Unity-dev] LOG_DEBUG output and System Indicators?
>
>>I wrote a small program to test logging with nux it is here
> http://pastebin.ubuntu.com/11952628/
>
>>And I executed export UNITY_LOG_SEVERITY="<root>=DEBUG", if I run the
> program I only get the >Warning 1 message at standard output. How can I
> fix this?
>
> I managed to fix this in my program.Emoji
You were missing something like:
nux::logging::configure_logging(::getenv("UNITY_LOG_SEVERITY"));
:)
References