Fix bugf
This commit is contained in:
parent
9d4e521619
commit
feed4626e6
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "logging",
|
||||
"version": "3.0.6",
|
||||
"version": "3.0.8",
|
||||
"description": "",
|
||||
"author": "Fabian Stamm <dev@fabianstamm.de>",
|
||||
"contributors": [],
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user