Issue #682: convert logs package to RFC5424 logging levels.

This commit is contained in:
Frederic G. MARAND
2014-07-11 11:15:34 +02:00
parent dbe75f90d5
commit 7d09ac252a
8 changed files with 138 additions and 73 deletions

View File

@@ -16,5 +16,5 @@ import (
func TestConn(t *testing.T) {
log := NewLogger(1000)
log.SetLogger("conn", `{"net":"tcp","addr":":7020"}`)
log.Info("info")
log.Informational("informational")
}