@furystack/logging
Advanced tools
Comparing version 2.0.5 to 2.0.6
@@ -15,3 +15,3 @@ "use strict"; | ||
async addEntry(entry) { | ||
const promises = this.loggers.map(l => l.addEntry(entry)); | ||
const promises = this.loggers.map(l => (l !== this ? l.addEntry(entry) : Promise.resolve())); | ||
await Promise.all(promises); | ||
@@ -18,0 +18,0 @@ } |
{ | ||
"name": "@furystack/logging", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "Logging API for FuryStack package", | ||
@@ -53,3 +53,3 @@ "main": "dist/index.js", | ||
"typings": "./dist/index.d.ts", | ||
"gitHead": "d4be768b87c639857e3240aaa3963df8491e4fcc" | ||
"gitHead": "6ee41a3671867559cec258f707d0d963831c976b" | ||
} |
@@ -12,3 +12,3 @@ import { Injectable } from '@furystack/inject' | ||
public async addEntry<T>(entry: LeveledLogEntry<T>): Promise<void> { | ||
const promises = this.loggers.map(l => l.addEntry(entry)) | ||
const promises = this.loggers.map(l => (l !== this ? l.addEntry(entry) : Promise.resolve())) | ||
await Promise.all(promises) | ||
@@ -15,0 +15,0 @@ } |
Sorry, the diff of this file is not supported yet
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
75916