1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-24 22:26:54 +02:00

redesign logger (#1272)

* redesign logger

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Vasiliy Tolstov
2020-02-29 03:31:59 +03:00
committed by GitHub
parent afe6861e2f
commit d0a978bd50
4 changed files with 71 additions and 21 deletions

9
logger/logger_test.go Normal file
View File

@ -0,0 +1,9 @@
package logger
import "testing"
func TestLogger(t *testing.T) {
l := NewLogger(WithLevel(TraceLevel))
h := NewHelper(l)
h.Trace("trace level")
}