1 2 3 4 5 6 7 8 9
package dlog func Example() { Init("example", SeverityNotice, "") // Call flag.Parse() around that time Info("Application is starting") Debugf("Counter value: %d", 0) Fatal("Kaboom") }