actor: add new actor package as distinct sub-module

This commit is contained in:
Olaoluwa Osuntokun committed 2026-02-06 19:26:53 -08:00
1 parent 5c7d3ad045
commit 90415aaa04
3 files changed
+60

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
package actor
import "github.com/btcsuite/btclog/v2"
// log is a logger that is initialized as disabled. This means the package will
// not perform any logging by default until a logger is set.
var log = btclog.Disabled
// UseLogger uses a specified Logger to output package logging info.
func UseLogger(logger btclog.Logger) {
log = logger
}