introduce testing logger

This commit is contained in:
Anton Kaliaev
2017-05-03 11:39:15 +04:00
parent 6baaad9975
commit d2a4b16b28
10 changed files with 21 additions and 28 deletions

View File

@ -18,7 +18,7 @@ func main() {
persistencePtr := flag.String("persist", "", "directory to use for a database")
flag.Parse()
logger := log.NewTmLogger(os.Stdout)
logger := log.NewTMLogger(os.Stdout)
// Create the application - in memory or persisted to disk
var app types.Application