▲ | lanstin 4 days ago | |||||||||||||||||||||||||
Yeah I want a log package where the log statements that don't log also don't have their arguments evaluated. Half of my gc pressure is little strings created to call the log package that don't get logged. | ||||||||||||||||||||||||||
▲ | 9rx 4 days ago | parent [-] | |||||||||||||||||||||||||
So what you want is slog, found in the standard library? The doc.go file found in the package even goes into detail about what you (seem to) describe and how it avoids that problem. | ||||||||||||||||||||||||||
|