*Access the log object directly
This commit is contained in:
parent
eb2a19121f
commit
d3d0f387b6
|
@ -207,7 +207,7 @@ export class PluginAPIManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (prop === "logger") {
|
if (prop === "logger") {
|
||||||
return target.logger.child({ plugin: plugin.name });
|
return log.child({ plugin: plugin.name });
|
||||||
}
|
}
|
||||||
|
|
||||||
return (target as any)[prop];
|
return (target as any)[prop];
|
||||||
|
|
Loading…
Reference in New Issue