logrus: github.com/sirupsen/logrus/internal/testutils Index | Files

package testutils

import "github.com/sirupsen/logrus/internal/testutils"

Index

Package Files

testutils.go

func LogAndAssertJSON Uses

func LogAndAssertJSON(t *testing.T, log func(*Logger), assertions func(fields Fields))

func LogAndAssertText Uses

func LogAndAssertText(t *testing.T, log func(*Logger), assertions func(fields map[string]string))

Package testutils imports 7 packages (graph). Updated 2018-10-28. Refresh now. Tools for package owners.