adams85 / filelogger

A lightweight yet feature-rich file logger implementation for the Microsoft.Extensions.Logging framework.
MIT License
147 stars 22 forks source link

Use ArrayPool for encoding buffers in netstandard2.1 #25

Closed sandersaares closed 1 year ago

sandersaares commented 1 year ago

This removes byte[] allocations for writing each line, greatly reducing the byte[] allocation rate of the library.

adams85 commented 1 year ago

Thank you, nice improvement! 👍