Also, provide stdlib log.Logger adapters, for the lazy.
I decided the clarity of a single-method interface outweighs the convenience of having both Printf and Println style methods, especially as all users of the package will need to bring their own implementation.
As a consequence I refactored the two log(args ...interface{}) helper methods to logf(format string, args ...interface{}) and changed the callsites. Output should be equivalent.
Also, provide stdlib log.Logger adapters, for the lazy.
I decided the clarity of a single-method interface outweighs the convenience of having both Printf and Println style methods, especially as all users of the package will need to bring their own implementation. As a consequence I refactored the two
log(args ...interface{})
helper methods tologf(format string, args ...interface{})
and changed the callsites. Output should be equivalent.