Skip to content

Tags: opalmer/logrusutil

Tags

v1.0.2

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix Race Condition (#2)

If ConfigureLogger() is called inside of a goroutine that will call logrus.Hooks.Add() which does not implement a mutux. While this probably was never intended to be called in a goroutine someone could by accident....such as when running tests with -race.

v1.0.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #1 from opalmer/mock-logger

Create MockFieldLogger to libraries that need to test logging.

v1.0.0

trying to fix sirupsen case issue