SpaceMadness / lunar-unity-console

High-performance Unity iOS/Android logger built with native platform UI
https://www.assetstore.unity3d.com/en/#!/content/43800
Other
849 stars 116 forks source link

Feature request: colored logs, same as in Editor #165

Closed novavision closed 3 years ago

novavision commented 4 years ago

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.

weeeBox commented 4 years ago

Added to the roadmap.

weeeBox commented 4 years ago

Available in 1.7.0

nntgam commented 3 years ago

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►InputLocked►LOCKED

weeeBox commented 3 years ago

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

nntgam commented 3 years ago

It still not working and not working with bold too

nntgam commented 3 years ago

@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

weeeBox commented 3 years ago

@nntgam, can you double check if Rich Text Tags are enabled in the plugin?

Screen Shot 2021-05-03 at 8 25 50 AM
nntgam commented 3 years ago

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

weeeBox commented 3 years ago

@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?

nntgam commented 3 years ago

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

weeeBox commented 3 years ago

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

weeeBox commented 3 years ago

@nntgam, fixed in 1.8.2