1
0
mirror of https://github.com/DNSCrypt/dnscrypt-proxy.git synced 2025-01-09 01:53:47 +01:00
dnscrypt-proxy/vendor/github.com/jedisct1/dlog/dlog_test.go
2018-01-19 19:33:25 +01:00

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")
}