Associate this example with what it's an example for
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
func ExampleCustomFormatter() {
|
||||
func ExampleJSONFormatter_CallerPrettyfier() {
|
||||
l := logrus.New()
|
||||
l.SetReportCaller(true)
|
||||
l.Out = os.Stdout
|
||||
|
||||
Reference in New Issue
Block a user