@furystack/logging
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -7,3 +7,3 @@ "use strict"; | ||
const loggerInstances = loggers.map(l => this.getInstance(l)); | ||
const collection = new LoggerCollection_1.LoggerCollection(); | ||
const collection = this.getInstance(LoggerCollection_1.LoggerCollection); | ||
collection.attachLogger(...loggerInstances); | ||
@@ -10,0 +10,0 @@ this.setExplicitInstance(collection, LoggerCollection_1.LoggerCollection); |
{ | ||
"name": "@furystack/logging", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Logging API for FuryStack package", | ||
@@ -53,3 +53,3 @@ "main": "dist/index.js", | ||
"typings": "./dist/index.d.ts", | ||
"gitHead": "a1e3f2d18e83c7856ccd2015514541a8aba15c77" | ||
"gitHead": "22ea98c2afdeb55fd9b357f2176861e511e0266d" | ||
} |
@@ -26,3 +26,3 @@ import { Constructable } from '@furystack/inject' | ||
const loggerInstances = loggers.map(l => this.getInstance(l)) | ||
const collection = new LoggerCollection() | ||
const collection = this.getInstance(LoggerCollection) | ||
collection.attachLogger(...loggerInstances) | ||
@@ -29,0 +29,0 @@ this.setExplicitInstance(collection, LoggerCollection) |
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
75907