package main
import (
log "github.com/sirupsen/logrus"
"github.com/hairmare/logrus-bottom/bottomlog"
)
func main() {
// π₯Ί,,
log.SetFormatter(bottomlog.NewBottomFormatter())
log.WithFields(log.Fields{
"animal": "walrus",
}).Info("A walrus appears")
}
The logrus-bottom team would like to thank the bottom software foundation for their inspiration.