Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

logging-utils

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logging-utils - npm Package Compare versions

Comparing version 4.0.13 to 4.0.14

4

logging.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc