File: null_test.go

package info (click to toggle)
golang-github-alexcesaro-log 0.0~git20150915.61e6862-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 128 kB
  • sloc: makefile: 2
file content (11 lines) | stat: -rw-r--r-- 217 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
package log

import (
	"testing"
)

func TestNullLogger(t *testing.T) {
	// There isn't much to test, just making sure it doesn't explode on basic usage.
	var logger Logger = NullLogger
	logger.Info("hello, world")
}