Log what storage type
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user