@tsed/logger
Advanced tools
Comparing version 6.2.1 to 6.2.2
@@ -45,5 +45,2 @@ "use strict"; | ||
this.configure(config); | ||
if (this["build"]) { | ||
this["build"](); | ||
} | ||
} | ||
@@ -50,0 +47,0 @@ configure(config) { |
@@ -48,2 +48,5 @@ "use strict"; | ||
const instance = new klass(opts); | ||
if ("build" in instance) { | ||
instance.build(); | ||
} | ||
this._appenders.set(name, { name, instance, config: opts }); | ||
@@ -50,0 +53,0 @@ this._lvls.clear(); |
@@ -42,5 +42,2 @@ import { Layouts } from "../../layouts/class/Layouts.js"; | ||
this.configure(config); | ||
if (this["build"]) { | ||
this["build"](); | ||
} | ||
} | ||
@@ -47,0 +44,0 @@ configure(config) { |
@@ -45,2 +45,5 @@ import { AppendersRegistry } from "../../appenders/registries/AppendersRegistry.js"; | ||
const instance = new klass(opts); | ||
if ("build" in instance) { | ||
instance.build(); | ||
} | ||
this._appenders.set(name, { name, instance, config: opts }); | ||
@@ -47,0 +50,0 @@ this._lvls.clear(); |
{ | ||
"name": "@tsed/logger", | ||
"version": "6.2.1", | ||
"version": "6.2.2", | ||
"description": "A multi channel logger written in TypeScript.", | ||
@@ -5,0 +5,0 @@ "author": "Romain Lenzotti", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
348605