This commit is contained in:
Fabian Stamm 2021-05-09 22:33:47 +02:00
parent 9d4e521619
commit feed4626e6
3 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "logging",
"version": "3.0.6",
"version": "3.0.8",
"description": "",
"author": "Fabian Stamm <dev@fabianstamm.de>",
"contributors": [],

View File

@ -1,12 +1,12 @@
{
"name": "@hibas123/logging",
"version": "3.0.6",
"version": "3.0.8",
"description": "",
"main": "out/index.js",
"types": "out/index.d.ts",
"module": "esm/index.js",
"scripts": {
"prepublish": "npm run build",
"prepublishOnly": "npm run build",
"build": "tsc && tsc -p tsconfig.esm.json",
"test": "tsc && node out/test.js",
"postpublish": "denreg publish"

View File

@ -170,7 +170,10 @@ export class LoggingBase extends LoggingInterface {
}
getChild(name: string) {
return new LoggingBase.DecoupledLogging([this.names, name], this.#lg);
return new LoggingBase.DecoupledLogging(
[...this.names, name],
this.#lg
);
}
};