Closed mwpowellhtx closed 5 years ago
It might've been overcomplicated. My best guess is for performance reasons to minimize amount of string
instances.
Gah, I have no idea what it's doing. I deny any ownership of that. ;)
Trying for it to behave like a Span
before there was such a thing?
I think the initial version of the logger was written by me. I think I just tried to allocate less strings.
Trying to grok the core
Log
method. What is it actually doing? Basically splitting/reporting "lines" (loosely speaking) of potentially new-line or carriage-return-new-line delimited text? Why not simply use theString.Split
using theRemoveEmptyEntries
?