mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-01-09 01:53:47 +01:00
b02a4e6c73
(completely untested)
10 lines
191 B
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")
|
|
}
|