dyweb / gommon

A collection of common util libraries for Go
MIT License
27 stars 6 forks source link

[log] Simplify logger registery #110

Closed at15 closed 5 years ago

at15 commented 5 years ago

In initial design, logger is also a registry, after #78 logger and logger registry got split up, however there is no global registry #97, so most of the time it's not ready for use out of the box, and the struct logger is actually not that useful when the filter util (both runtime #23 and post processing #89) is not used, also the identity is causing trouble but never get used #108