不要怂,就是干,撸起袖子干!

Commit 4a7390b3 by Matt Broadstone

add environment variable to enable logging during tests

1 parent 334903f5
Showing with 1 additions and 1 deletions
......@@ -74,7 +74,7 @@ var Support = {
var sequelizeOptions = _.defaults(options, {
host: options.host || config.host,
logging: false,
logging: (process.env.SEQ_LOG ? console.log : false),
dialect: options.dialect,
port: options.port || process.env.SEQ_PORT || config.port,
pool: config.pool,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!