format http logs

This commit is contained in:
solar 2019-03-07 09:16:27 +08:00
parent a34893d904
commit 04b5a1faa4
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ func (m *H) ResolveStream(net, transport gopacket.Flow, buf io.Reader) {
msg += req.Form.Encode()
msg += "]"
fmt.Printf(time.Now().Format("2006-01-02 15:04:05.000") + " | " + msg)
fmt.Println(time.Now().Format("2006-01-02 15:04:05.000") + " | " + msg)
// log.Println()
req.Body.Close()
}