txscript: Remove DisableLog.

This commit is contained in:
Dave Collins 2019-06-18 23:50:20 -05:00
parent ad0d98ce75
commit e0a318cd75
No known key found for this signature in database
GPG Key ID: B8904D9D9C93D1F2

View File

@ -15,14 +15,6 @@ import (
// The default amount of logging is none.
var log = slog.Disabled
// DisableLog disables all library log output. Logging output is disabled
// by default until UseLogger is called.
//
// Deprecated: Use UseLogger(slog.Disabled) instead.
func DisableLog() {
log = slog.Disabled
}
// UseLogger uses a specified Logger to output package logging info.
func UseLogger(logger slog.Logger) {
log = logger