otto-config
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -17,3 +17,3 @@ | ||
global : function (app, environment) { | ||
global : function (app, environment, config) { | ||
@@ -44,5 +44,7 @@ // Interpret Environment | ||
if (environment.NODE_ENV === 'DEVELOPMENT') { | ||
console.log('Starting Logger...'); | ||
// Long version of 'dev' | ||
app.use(logger(':date :remote-addr :method :status :url')); | ||
if (config.logging && config.logging !== false) { | ||
console.log('Starting Logger...'); | ||
// Long version of 'dev' | ||
app.use(logger(':date :remote-addr :method :status :url')); | ||
} | ||
} | ||
@@ -49,0 +51,0 @@ |
{ | ||
"name" : "otto-config", | ||
"version" : "0.0.3", | ||
"version" : "0.0.4", | ||
"repository" : "https://github.com/ottojs/otto-config.git", | ||
@@ -5,0 +5,0 @@ "main" : "./lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8130
157