Better Logs with Rich Text (Unity Tutorial)

Better Logs with Rich Text (Unity Tutorial)

Infallible Code

4 года назад

7,767 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Seshua
Seshua - 04.09.2023 20:19

A quick way to only get the debug message to one line , click the 3 dots on the right of the console window and expand the "Log Entry" menu and choose 1 line or however many you would like.

Ответить
mllhild
mllhild - 27.11.2022 09:17

The simulate part is interesting. Also hope I can get this to work in TMP as import.

Ответить
HPloveCraftMacNcheese
HPloveCraftMacNcheese - 23.12.2021 02:29

When I use rich text formatting in my debug.log messages, the html-style tags just get output in the console like normal text. The \n doesn't output the text to the next line. For some reason \t works to insert a tab in the message output. Nothing works except tab spaces. I'm using Unity 2020.3.

Ответить
Rotes Ende
Rotes Ende - 02.12.2021 19:51

Hello pls help if I want to make a game they tell me error to open pls check the logs and how can I check those logs?

Ответить
Kryloth
Kryloth - 12.09.2021 08:33

Anyone knows which video that shows his helper functions that he says at the end of the video ?

Ответить
허재욱
허재욱 - 07.09.2020 17:15

How did you add 'Simulate Healing' menu item when you press the setting button of component?

Ответить
Hasnain Fareed
Hasnain Fareed - 15.04.2020 08:30

V Nice

Ответить
Devin Weidinger
Devin Weidinger - 18.09.2019 04:49

Really wish I could enable and disable logs per script easily in unity. I've thought about writing my own logger but there really isn't a clean implementation that wouldn't slow me down over time. One thing I thought would be worth mentions is how HEAVY logging is on your game. You can disable logs in builds but you might not always wants to disable all logs from a release build.

Ответить
Ali Developer
Ali Developer - 14.09.2019 10:42

i go for your dimple ;)

Ответить
Honey Badger
Honey Badger - 13.09.2019 20:44

Amazing functionality I definitely needed in my intermediate skill set. Thank you so much for sharing this in a really comprehensive way.
Infallible_Code.subscribers += 1;

Ответить
darksidegirl
darksidegirl - 13.09.2019 12:48

For me... Ignoring wrappers so that double clicking on a log, it brings to the correct line... ignored the second line of each log...... use Console Pro. Great asset.

Ответить
Stefan Hedman
Stefan Hedman - 13.09.2019 08:38

This is great but you know what would have been even better? Emoji!

Ответить
HexDump
HexDump - 12.09.2019 23:48

Is there any way to get rid of the "Unity.Engine.Debug:Log..."? And I think removing it completly not making the text size bigger to make it out of the line space. It is something that really has annoyed me a lot. By the way, thanks for the vid.

Ответить
Sparrowhawk
Sparrowhawk - 12.09.2019 21:33

You should do something on debugging / breakpoints. I realize in your case it'd be focused on Rider, but it could still be useful.

Ответить
Denis
Denis - 12.09.2019 19:26

It is usefull same as uselless :) On android log or IOS you will see all this tags and it will make more garbrage

Ответить
krawlak
krawlak - 12.09.2019 19:20

Thanks for this video! To have just one text line per log, instead of increasing the text size you can also change "Log Entry" from the default 2 to 1 in Unity's Console panel's setting menu (the three small bars in upper right of the Console panel).

Ответить