SpaceMadness/lunar-unity-console

Feature request: colored logs, same as in Editor

novavision opened this issue · 12 comments

During last month I started to use colored Debug.Log in Unity, and really helps a lot when each game manager provide logs according to it's unique color.
As you know the code is something like that:
Debug.Log("<color=green>Notifications: {messsage}"
Unfortunately Lunar Console doesn't support it and I see extended log without color convertation.
Would be great to implement it.

Added to the roadmap.

Available in 1.7.0

I have check it with version 1.8 on asset store but I can't show the color of the text. The log show like below
TDEBUG►<color=#00cc99>InputLocked►<color=#ff5050>LOCKED

@nntgam, can you try adding a closing </color> tag?

It still not working and not working with bold too

@nntgam, can you try adding a closing </color> tag?

Yes I have already put, this on auto format by github.
This is full log:
<b>TDEBUG►</b><color=#00cc99><b>InputLocked►</b></color><color=#ff5050><b>LOCKED</b></color> Remove <b>DoBoardGenerateEffect</b> remain UILevelShowBegin

@nntgam, can you double check if Rich Text Tags are enabled in the plugin?
Screen Shot 2021-05-03 at 8 25 50 AM

Thank you for your help, but I don't know why the color is not correct.
image
I'm using UNITY 2019.2.21 & Lunar version 1.8.1

@nntgam, this does not look right - can you try to use color names and see if that works? Is this happening on iOS or Android?

@weeeBox , Trying with color by name then it works. I'm using Android (Samsung S7).
Thank you for support
image

@nntgam, I'm re-opening the issue to investigate the hex-colors bug

@nntgam, fixed in 1.8.2