Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
novavision opened this issue May 9, 2020 · 12 comments
Closed

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

novavision opened this issue May 9, 2020 · 12 comments

Comments

@novavision
Copy link

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
Copy link
Member

weeeBox commented May 10, 2020

Added to the roadmap.

@weeeBox
Copy link
Member

weeeBox commented Jul 29, 2020

Available in 1.7.0

@weeeBox weeeBox closed this as completed Jul 29, 2020
@nntgam
Copy link

nntgam commented May 2, 2021

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

@weeeBox
Copy link
Member

weeeBox commented May 2, 2021

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

@nntgam
Copy link

nntgam commented May 3, 2021

It still not working and not working with bold too

@nntgam
Copy link

nntgam commented May 3, 2021

@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
Copy link
Member

weeeBox commented May 3, 2021

@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
Copy link

nntgam commented May 3, 2021

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
Copy link
Member

weeeBox commented May 3, 2021

@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
Copy link

nntgam commented May 3, 2021

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

@weeeBox
Copy link
Member

weeeBox commented May 3, 2021

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

@weeeBox weeeBox reopened this May 3, 2021
@weeeBox
Copy link
Member

weeeBox commented May 17, 2021

@nntgam, fixed in 1.8.2

@weeeBox weeeBox closed this as completed May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants