logging-utils
Advanced tools
Comparing version 4.0.13 to 4.0.14
@@ -41,3 +41,3 @@ 'use strict'; | ||
* let err = new Error('Some arbitrary error'); | ||
* context.error('Insert error message here', err.stack); | ||
* context.error('Insert error message here', err); | ||
* if (context.warnEnabled) context.warn('Insert warning here'); | ||
@@ -55,3 +55,3 @@ * context.info('FYI'); | ||
* let err = new Error('Some arbitrary error'); | ||
* log.error('Insert error message here', err.stack); | ||
* log.error('Insert error message here', err); | ||
* log.warn('Insert warning here'); | ||
@@ -58,0 +58,0 @@ * if (log.infoEnabled) log.info('FYI'); |
{ | ||
"name": "logging-utils", | ||
"description": "Utilities for configuring simple log level based logging functionality on an object", | ||
"version": "4.0.13", | ||
"version": "4.0.14", | ||
"author": "Byron du Preez", | ||
@@ -16,3 +16,3 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"core-functions": "3.0.14" | ||
"core-functions": "3.0.15" | ||
}, | ||
@@ -19,0 +19,0 @@ "devDependencies": { |
@@ -1,2 +0,2 @@ | ||
# logging-utils v4.0.13 | ||
# logging-utils v4.0.14 | ||
Utilities for configuring simple log level based logging functionality on an object. | ||
@@ -3,0 +3,0 @@ |
## Changes | ||
### 4.0.14 | ||
- Replaced all logging of `error.stack` with logging of just the error | ||
- Updated `core-functions` dependency to version 3.0.15 | ||
### 4.0.13 | ||
@@ -4,0 +8,0 @@ - Added dummy first export (`exports._ = '_'; //IDE workaround`) to `logging` module as a temporary workaround for IDE issue |
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
109415
+ Addedcore-functions@3.0.15(transitive)
- Removedcore-functions@3.0.14(transitive)
Updatedcore-functions@3.0.15