go-ozzo / ozzo-log

A Go (golang) package providing high-performance asynchronous logging, message filtering by severity and category, and multiple message targets.
MIT License
122 stars 31 forks source link

Enh: logger.Close() should return error #15

Open githubjeka opened 7 years ago

githubjeka commented 7 years ago

P.S. And some thoughts about

logger.Open()
defer logger.Close()

https://joeshaw.org/dont-defer-close-on-writable-files/