import "github.com/jaw0/acdiag"
var dl = diag.Logger("encabulator")
dl.Debug("deplenation: %+v", dpl)
dl.Verbose("thing happened")
dl.Fatal("bad things happened: %v", err)
// in/near main
diag.SetConfig(diag.Config{
ProgName: "proggyd",
MailTo: "devteam@company",
MailFrom: "daemon@company",
Facility: "local5",
Debug: map[string]bool{
"encabulator": true,
"api": true,
},
})
-
Notifications
You must be signed in to change notification settings - Fork 0
License
jaw0/acdiag
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published