github.com/jxgolibs/go-oauth2-server@v1.0.1/log/log_test.go (about)

     1  package log_test
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/RichardKnop/go-oauth2-server/log"
     7  )
     8  
     9  func TestDefaultLogger(t *testing.T) {
    10  	log.INFO.Print("should not panic")
    11  	log.WARNING.Print("should not panic")
    12  	log.ERROR.Print("should not panic")
    13  	log.FATAL.Print("should not panic")
    14  }