mirror of
https://github.com/charlienet/go-mixed.git
synced 2025-07-18 00:22:41 +08:00
logx
This commit is contained in:
16
logx/std_test.go
Normal file
16
logx/std_test.go
Normal file
@ -0,0 +1,16 @@
|
||||
package logx_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/charlienet/go-mixed/logx"
|
||||
)
|
||||
|
||||
func TestStandardLogger(t *testing.T) {
|
||||
l := logx.StandardLogger()
|
||||
|
||||
l.Debug("abc")
|
||||
l.Info("abc")
|
||||
l.Warn("abc")
|
||||
l.Error("abc")
|
||||
}
|
Reference in New Issue
Block a user