Skip to content

Commit 5b18aab

Browse files
committed
staticaddr: deposit logger
1 parent 6adc00a commit 5b18aab

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

staticaddr/log.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,8 @@ func init() {
2222
func UseLogger(logger btclog.Logger) {
2323
log = logger
2424
}
25+
26+
// GetLogger returns the logger for this package.
27+
func GetLogger() btclog.Logger {
28+
return log
29+
}

0 commit comments

Comments
 (0)