diff --git a/src/plugins/packages/index.js b/src/plugins/packages/index.js index ea1ed2cd..47b9e7fb 100644 --- a/src/plugins/packages/index.js +++ b/src/plugins/packages/index.js @@ -47,6 +47,12 @@ const packageApis = function (packageInfo) { Config: { getConfig: () => Helper.config, }, + Logger: { + error: (...args) => log.error(...args), + warn: (...args) => log.warn(...args), + info: (...args) => log.info(...args), + debug: (...args) => log.debug(...args), + }, }; };