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.25k stars 88 forks source link

Improvement: Add optional MessageCap #131

Closed JKamsker closed 8 months ago

JKamsker commented 9 months ago

To prevent memory exhaustion, Channel.CreateBounded should be used here or optional enable able.

neuecc commented 9 months ago

will provides Grow(current/default), Wait, Drop options.

related: #129

hadashiA commented 8 months ago

Thanks for your suggestion.

In #143, we added ZLoggerOptions.FullMode. Now available three options for this.