diff options
Diffstat (limited to '')
-rw-r--r-- | main.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -30,7 +30,9 @@ func main() { log.Debugf("Loaded TOML Config: %+v", cfg) // DB - db, err := badger.Open(badger.DefaultOptions(cfg.DbPath)) + dbOpts := badger.DefaultOptions(cfg.DbPath) + // dbOpts.Logger = log // TODO needs to adapt Warningf to Warnf + db, err := badger.Open(dbOpts) if err != nil { log.Fatal(err) } |