*Access the log object directly

This commit is contained in:
Derrick Hammer 2023-01-13 17:53:54 -05:00
parent eb2a19121f
commit d3d0f387b6
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ export class PluginAPIManager {
}
if (prop === "logger") {
return target.logger.child({ plugin: plugin.name });
return log.child({ plugin: plugin.name });
}
return (target as any)[prop];