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 3.0.6 to 3.0.7

19

logging.js

@@ -38,2 +38,15 @@ 'use strict';

/**
* @typedef {Object} Logging - logging functionality
* @property {Function} error - an error-level logging function
* @property {Function} warn - a warn-level logging function
* @property {Function} info - an info-level logging function
* @property {Function} debug - an debug-level logging function
* @property {Function} trace - a trace-level logging function
* @property {boolean} warnEnabled - whether warn-level logging is enabled or not
* @property {boolean} infoEnabled - whether info-level logging is enabled or not
* @property {boolean} debugEnabled - whether debug-level logging is enabled or not
* @property {boolean} traceEnabled - whether trace-level logging is enabled or not
*/
// Exports

@@ -126,3 +139,3 @@ module.exports = {

* which will override any previously configured logging functionality on the target object
* @returns {Object} the given target object
* @returns {Logging} the given target object with logging functionality configured
*/

@@ -187,3 +200,3 @@ function configureLogging(target, settings, options, underlyingLogger, forceConfiguration) {

* which will override any previously configured logging functionality on the target object
* @return {Object} the updated target object
* @return {Logging} the updated target object with logging functionality configured
*/

@@ -258,3 +271,3 @@ function configureLoggingWithSettings(target, settings, forceConfiguration) {

* functionality, which will override any previously configured logging functionality on the target object
* @return {Object} the updated target object
* @return {Logging} the updated target object with logging functionality configured
*/

@@ -261,0 +274,0 @@ function configureDefaultLogging(target, options, underlyingLogger, forceConfiguration) {

2

package.json
{
"name": "logging-utils",
"description": "Utilities for configuring simple log level based logging functionality on an object",
"version": "3.0.6",
"version": "3.0.7",
"author": "Byron du Preez",

@@ -6,0 +6,0 @@ "license": "Apache-2.0",

@@ -1,2 +0,2 @@

# logging-utils v3.0.6
# logging-utils v3.0.7
Utilities for configuring simple log level based logging functionality on an object.

@@ -166,2 +166,7 @@

### 3.0.7
- Added `Logging` typedef
- Changed return types of `configureLogging`, `configureLoggingWithSettings` and `configureDefaultLogging` functions
to new `Logging` type
### 3.0.6

@@ -168,0 +173,0 @@ - Updated `core-functions` dependency to version 2.0.11

{
"name": "logging-utils-tests",
"description": "Unit tests for logging-utils",
"version": "3.0.6",
"version": "3.0.7",
"author": "Byron du Preez",

@@ -6,0 +6,0 @@ "license": "Apache-2.0",

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