log := logrus.New() log.SetFormatter(&ecslogrus.Formatter{ DataKey: "labels", }) log.WithError(errors.New("boom!")).
確定! 回上一頁