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

FileLogger not Compatible with WebGL #67

Closed transong closed 9 months ago

transong commented 1 year ago

Hi AsyncStreamLineMessageWriter uses Task.Run which not work on WebGL. Could you make a sync version of ZLoggerFileLoggerProvider?

hadashiA commented 9 months ago

I see. But is file writing validity in the WebGL build ? Perhaps we need to use the Unity Debug log.