needle-tools/needle-console

[Support Unity Logging]

Opened this issue · 7 comments

aprius commented

The Logging package is a versatile and highly configurable structured asynchronous logging solution. In addition to what you would expect from a traditional logging package (level, timestamp, stacktrace), it contains various ways to stream and record the logs such as StdOut, text or JSON files, DebugLog, and your own custom implementation. You can also individually or collectively configure these logs.

https://docs.unity3d.com/Packages/com.unity.logging@1.0/manual/index.html

It can be used to replace the default Debug.Log.

marwie commented

You mean you'd like to forward the logs to the Unity logging package?

How would you imagine the support being integrated (e.g. do you select a filter for which the logs are then piped to a text file?)

aprius commented

I thought that apart from the extended logging to the file it would still work like the regular log existing in the editor?.

Because I still see the log on console and not highlighted by needle console.

If it was my mistake, I sincerely apologize

marwie commented

The Unity logs are already logged to a file by default
image

What do you mean by Because I still see the log on console and not highlighted by needle console. ?

aprius commented

Log.Info(string message);

stack trace in console not affect by hight light setting of needle console it still same normal log

marwie commented

What is Log.info ? Which namespace - is that the Logging package?

Can you show a screenshot?

aprius commented

Well it's from the Logging package. sorry I don't have the test snapshot from Log.Info right now, I'll try again and send it to you later

marwie commented

Ah I guess I'm starting to understand what you're asking :)
You want to have the same kind of highlighting when logging via Log.Info (the Logging package) as you get when using Debug.Log for example, correct?