github.com/karrick/gorill@v1.10.3/nologs_test.go (about)

     1  // +build nologs
     2  
     3  package gorill
     4  
     5  import (
     6  	"io/ioutil"
     7  	"log"
     8  )
     9  
    10  func init() {
    11  	log.SetOutput(ioutil.Discard)
    12  }