9corp / 9volt

A modern, distributed monitoring system written in Go
MIT License
169 stars 17 forks source link

moving towards structured logging using logrus #147

Closed dselans closed 7 years ago

dselans commented 7 years ago

Fiddling around with structured and contextual logging with logrus.

dselans commented 7 years ago

So this should be mostly complete. To test logging conditions, update the Logger instance to use a bufio.NewWriter(bytes.Buffer) and read from that to satisfy expects.