Add customizable Logger interface + info,error and debugs

This commit is contained in:
Dean Karn
2017-07-15 12:04:34 -07:00
parent 9a8b92d028
commit 993ec330d3
10 changed files with 158 additions and 19 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)