diff --git a/lib_test.go b/lib_test.go index 084f050..f3c096f 100644 --- a/lib_test.go +++ b/lib_test.go @@ -5,6 +5,7 @@ import ( "testing" "github.com/goreflect/gostructor/infra" + "github.com/sirupsen/logrus" "github.com/stretchr/testify/assert" ) @@ -173,3 +174,8 @@ func Test_configureEasy(t *testing.T) { }, myStruct.(*EnvStruct)) } + +func TestChangeLogsParams(t *testing.T) { + ChangeLogLevel(logrus.DebugLevel) + ChangeLogFormatter(&logrus.JSONFormatter{}) +}