...

Source file src/github.com/goph/emperror/handler/logrushandler/handler_test.go

Documentation: github.com/goph/emperror/handler/logrushandler

     1  package logrushandler_test
     2  
     3  import (
     4  	"github.com/sirupsen/logrus"
     5  
     6  	"github.com/goph/emperror/handler/logrushandler"
     7  )
     8  
     9  func ExampleNew() {
    10  	logger := logrus.New()
    11  	_ = logrushandler.New(logger)
    12  
    13  	// Output:
    14  }
    15  

View as plain text