Consider allowing pass of an external logger
radeksimko opened this issue · comments
Currently much of the important stages of download or installation are logged, but consumers cannot really see any of these logs as we don't allow them to pass a logger and we automatically use a discard logger internally:
Lines 14 to 15 in bc88cf0
Lines 22 to 27 in bc88cf0
We should consider perhaps adding SetLogger(logger *log.Logger)
method or generally let people use this logging to aid debugging.