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

@ -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
);
}
};