mirror of
https://github.com/FlipsideCrypto/dcrd.git
synced 2026-02-06 10:56:47 +00:00
txscript: Remove DisableLog.
This commit is contained in:
parent
ad0d98ce75
commit
e0a318cd75
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user