diff --git a/src/modules/plugin.ts b/src/modules/plugin.ts index 29779a5..5675746 100644 --- a/src/modules/plugin.ts +++ b/src/modules/plugin.ts @@ -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];