Did you implement a buffer for a custom logger

Written by
reddit
Link to Post

https://www.reddit.com/r/golang/comments/bom341/did_you_implement_a_buffer_for_a_custom_logger/ by 

Hello !

I’ve implement a little logger inspired by log4j for Go. What do you think about the idea to add a buffer [][]byte inside the logger structure to write each lines print to stdout or stderr ?

I can’t be useless for you ?

https://gitlab.com/protocod/log

submitted by /u/protocod
[link] [comments]

Article Tags:
· ·
Article Categories:
reddit

Leave a Reply