@google-cloud/common
Advanced tools
Comparing version 0.10.0 to 0.11.0
{ | ||
"name": "@google-cloud/common", | ||
"version": "0.10.0", | ||
"version": "0.11.0", | ||
"author": "Google Inc.", | ||
@@ -5,0 +5,0 @@ "description": "Common components for Google Cloud APIs Node.js Client Libraries", |
@@ -28,6 +28,7 @@ /*! | ||
/** | ||
* A list of log levels. | ||
* The default list of log levels. | ||
* @type {string[]} | ||
*/ | ||
var LEVELS = [ | ||
'silent', | ||
'error', | ||
@@ -47,2 +48,4 @@ 'warn', | ||
* console. (Default: `error`) | ||
* @param {string[]=} options.levels - The list of levels to use. (Default: | ||
* logger.LEVELS) | ||
* @param {string=} options.tag - A tag to use in log messages. | ||
@@ -60,3 +63,3 @@ */ | ||
return logDriver({ | ||
levels: LEVELS, | ||
levels: options.levels || LEVELS, | ||
@@ -63,0 +66,0 @@ level: options.level || 'error', |
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
93393
2530