Any methods to suppress these annoying log.Printf
caryyu opened this issue · comments
: ask me anything :) commented
As there are some invalid formats that will be parsed and can't be read properly, I'd like to know if it is possible to avoid this annoying output from the code below:
Lines 178 to 199 in aa9412f
Plus: If there's a method that I can verify whether or not the format is correct before that, will make it even better
Quentin Renard commented
Right now this is not possible to do so.
But I'm welcoming PRs to make the proper changes:
- add an
SSAOptions
struct withOnUnknownSectionName func(name string)
andOnInvalidLine func(line string)
fields - add this struct to the
ReadFromSSA
func - by default make the callback log information