Add customizable Logger interface + info,error and debugs (#14)

* Add customizable Logger interface + info,error and debugs
* update travis.yml to atest golang versions
This commit is contained in:
Dean Karn
2017-07-15 12:12:11 -07:00
committed by GitHub
parent 9a8b92d028
commit a5141d656b
11 changed files with 161 additions and 22 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ func TestRun(t *testing.T) {
}
func TestRunServer(t *testing.T) {
DefaultLog = NewLogger(true)
server := &http.Server{Addr: "127.0.0.1:3007", Handler: nil}
go RunServer(server, fakeHook, "/webhooks")
time.Sleep(5000)