Fix bugf
This commit is contained in:
parent
9d4e521619
commit
feed4626e6
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "logging",
|
"name": "logging",
|
||||||
"version": "3.0.6",
|
"version": "3.0.8",
|
||||||
"description": "",
|
"description": "",
|
||||||
"author": "Fabian Stamm <dev@fabianstamm.de>",
|
"author": "Fabian Stamm <dev@fabianstamm.de>",
|
||||||
"contributors": [],
|
"contributors": [],
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@hibas123/logging",
|
"name": "@hibas123/logging",
|
||||||
"version": "3.0.6",
|
"version": "3.0.8",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "out/index.js",
|
"main": "out/index.js",
|
||||||
"types": "out/index.d.ts",
|
"types": "out/index.d.ts",
|
||||||
"module": "esm/index.js",
|
"module": "esm/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublish": "npm run build",
|
"prepublishOnly": "npm run build",
|
||||||
"build": "tsc && tsc -p tsconfig.esm.json",
|
"build": "tsc && tsc -p tsconfig.esm.json",
|
||||||
"test": "tsc && node out/test.js",
|
"test": "tsc && node out/test.js",
|
||||||
"postpublish": "denreg publish"
|
"postpublish": "denreg publish"
|
||||||
|
@ -170,7 +170,10 @@ export class LoggingBase extends LoggingInterface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getChild(name: string) {
|
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