Logging – keeping track of your data

Logging, the act of recording events that occur in a system, is essential to creating performant software systems. Being able to record and validate events within a programming system is a great way to ensure that you're maintaining code quality across versions of your applications. Logs can often quickly show a bug in your software, and being able to consume that information in a quick fashion can often help lower your mean time to recovery (MTTR).

There are many different logging packages for Go. A few of the most popular packages are as follows:

Get Hands-On High Performance with Go now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.