πŸ”— redlog: Redis style logger for Go /by @tidwall

log := redlog.New(os.Stderr)
log.Printf("Server started at 10.0.1.5:6379")
log.Debugf("Connected to leader")
log.Warningf("Heartbeat timeout reached, starting election")

[93324:M] 29 Aug 09:30:59.943 * Server started at 10.0.1.5:6379
[93324:M] 29 Aug 09:31:01.892 . Connected to leader
[93324:M] 29 Aug 09:31:02.331 # Heartbeat timeout reached, starting election 

🌎 https://github.com/tidwall/redlog