log icon indicating copy to clipboard operation
log copied to clipboard

Plans for supporting Unstructured Logging

Open LutherLee opened this issue 1 year ago • 2 comments

May I know if there are plans to support unstructured logging with async support?

LutherLee avatar Jun 14 '24 07:06 LutherLee

I tried (let AsyncWriter to be an io.Writer) but the initial implementation is a bit dirty.

Let me consider it again in later days, thanks.

phuslu avatar Jun 14 '24 07:06 phuslu

Just now I committed a standalone io.Writer named AsyncIOWriter

Although it's a bit repeatable, but I think it more clean than impalement it in original AsyncWriter.

You can have a try go get github.com/phuslu/log@master if you want, I will continue the tweaking.

phuslu avatar Jun 14 '24 08:06 phuslu