File: dlog_test.go

package info (click to toggle)
golang-github-jedisct1-dlog 0.9-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 100 kB
  • sloc: makefile: 2
file content (9 lines) | stat: -rw-r--r-- 191 bytes parent folder | download | duplicates (3)
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")
}