dnscrypt-proxy/vendor/github.com/jedisct1/dlog/dlog_test.go

10 lines
191 B
Go

package dlog
func Example() {
Init("example", SeverityNotice, "")
// Call flag.Parse() around that time
Info("Application is starting")
Debugf("Counter value: %d", 0)
Fatal("Kaboom")
}