Cysharp / ZLogger

Zero Allocation Text/Structured Logger for .NET with StringInterpolation and Source Generator, built on top of a Microsoft.Extensions.Logging.
MIT License
1.14k stars 80 forks source link

Structured logging for Unity #28

Closed tom-willmowski closed 3 years ago

tom-willmowski commented 3 years ago

Is there any plan to add this in the future? What is the problem with integrating structured logging in Unity?

neuecc commented 3 years ago

Structured logging is dependent on System.Text.Json but it is not supported Unity. It might be able to do this by decouple it and make it compatible with Unity's JsonSerializer.

tom-willmowski commented 3 years ago

There could be problems with Dictionaries. Maybe it would be better to use newtonsoft json?