Log what storage type

master
breel 2020-08-27 12:37:10 -06:00
parent 3a99bf5e33
commit 3701479b5f
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ func NewStorage(args ...string) *Storage {
args = []string{"map"}
}
typed := storage.TypeFromString(args[0])
log.Println("Creating storage of type", typed)
args = args[1:]
db, err := storage.New(typed, args...)
if err != nil {