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

Using scopes #40

Closed shersh closed 3 years ago

shersh commented 3 years ago

Hello! Is there any chance to show scopes in log entries?

I mean when we using _log.BeginScope() I want to see it in output in Console. In options I can't find any references for that

neuecc commented 3 years ago

Scope incurs an overhead. We have no plans to introduce it in this library, where performance is the top priority.