SlyMarbo / spdy

[deprecated] A full-featured SPDY library for the Go language.
BSD 2-Clause "Simplified" License
116 stars 13 forks source link

enable debug without data #25

Closed cpg closed 11 years ago

cpg commented 11 years ago

it would be very useful to get debug logs without ALL the data mixed in in the middle.

maybe, say, a boolean option to EnableDebugOutput so that if true, the data is shown and it default to false?

SlyMarbo commented 11 years ago

Sorry, should've been more explicit: DATA frame content is now truncated unless the spdy.VerboseLogging flag is set to true.