How we use logging

When it comes to logging in your Go services, the immediate package toreach for is the standard library log package.As it happens, you’ll outgrow the log package needs almost immediately,because the log package is able to send the relevant logs only to oneio.Writer stream, by default sent to os.Stderr.

There may be other needs that you may feel you want to address:

Structured logging that can be consumed by external services like Logstash, ELKSplit the log destination based on message se...
 •  0 comments  •  flag
Share on Twitter
Published on February 07, 2021 10:00
No comments have been added yet.