connect-rest
Advanced tools
Comparing version 0.9.8 to 0.9.9
@@ -249,4 +249,3 @@ /* | ||
if( options.logger ) | ||
logger = exports.setupLogger( options.logger, logger ); | ||
//logger = _.isString( options.logger ) ? bunyan.createLogger({name: options.logger, src: true, level: options.logLevel || 'info'}) : options.logger; | ||
logger = options.logger.info ? options.logger : exports.setupLogger( options.logger, logger ); | ||
@@ -253,0 +252,0 @@ domain = options.domain; |
{ | ||
"name": "connect-rest", | ||
"version": "0.9.8", | ||
"version": "0.9.9", | ||
"description": "Exceptionally featureful RESTful web services middleware for Connect.", | ||
@@ -50,3 +50,3 @@ "keywords": [ | ||
}, | ||
"_id": "connect-rest@0.9.8" | ||
"_id": "connect-rest@0.9.9" | ||
} |
@@ -478,3 +478,3 @@ CONNECT-REST - Exceptionally featureful Restful web services middleware for connect node.js | ||
- a string, which will be interpret as the name of the logger seen in the logs, or | ||
- passing a bunyan instance to be used. | ||
- passing a logger instance to be used. By default, connect-rest is using [winston](https://github.com/flatiron/winston) as logging library. | ||
@@ -481,0 +481,0 @@ In the absence of 'logger' property, no logs will be made. |
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
146608
1073