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.11k stars 79 forks source link

How to use only ZLogger.Generator? #163

Closed pairbit closed 1 week ago

pairbit commented 1 week ago

Hello. It is prohibited to use the System.IO.Hashing library on our projects.

We only use ZLoggerMessageAttribute on the project, which does not require the use of ZLoggerInterpolatedStringHandler, MessageSequence and Hashing LiteralList.

My request is that you separate the projects and make ZLogger.Core with ZLogger.Generator and without InterpolatedStringHandler.

Thanks

neuecc commented 1 week ago

I see. However, the usage is a bit too specific, so it's not feasible to separate that part.

pairbit commented 1 week ago

OK, thank you. I tried.