add custom logger

fixes #45
This commit is contained in:
Lucas Clemente 2016-05-04 13:20:06 +02:00
parent 40ee20c02b
commit 09fb894fb2
7 changed files with 75 additions and 29 deletions

View file

@ -9,9 +9,12 @@ import (
"github.com/lucas-clemente/quic-go/h2quic"
"github.com/lucas-clemente/quic-go/testdata"
"github.com/lucas-clemente/quic-go/utils"
)
func main() {
utils.SetLogLevel(utils.LogLevelDebug)
bindTo := flag.String("bind", "localhost", "bind to")
certPath := flag.String("certpath", "", "certificate directory")
www := flag.String("www", "/var/www", "www data")