kvdb: add postgres

This commit is contained in:
Joost Jager committed 2021-09-21 10:44:18 +02:00
1 parent 9264185f5b
commit 3eb80cac97
19 files changed
+2055 -10

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
package postgres
import "github.com/btcsuite/btclog"
// 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
}