[Golang] Ghi log với sirupsen/logrusgger

Thư viện https://github.com/sirupsen/logrus Ví dụ sử dụng package main import ( log “github.com/sirupsen/logrus” ) func main() { log.WithFields(log.Fields{ “anima”: “walrus”, “size”: 10, }).Info(“A group of walrus emerges from the ocean”) log.WithFields(log.Fields{ “omg”: true, “number”: 122, }).Warn(“The groups number increased tremendously”)…

Read More