Logrus
Produce structured logs with fields such as categories and counts.
sirupsen · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
In a new Go module, add github.com/sirupsen/logrus at v1.10.2. Send a fictional stock event to an in-memory output buffer.
What we tested
v1.10.2. Send a fictional stock event to an in-memory output buffer. Read the expected message and seed count from the JSON log.