diff --git a/.changeset/khaki-lions-glow.md b/.changeset/khaki-lions-glow.md new file mode 100644 index 00000000..3a1877b4 --- /dev/null +++ b/.changeset/khaki-lions-glow.md @@ -0,0 +1,8 @@ +--- +"@codecov/bundler-plugin-core": patch +"@codecov/rollup-plugin": patch +"@codecov/vite-plugin": patch +"@codecov/webpack-plugin": patch +--- + +Add codecov prefix to log messages diff --git a/packages/bundler-plugin-core/src/utils/logging.ts b/packages/bundler-plugin-core/src/utils/logging.ts index d15a0308..58eaa199 100644 --- a/packages/bundler-plugin-core/src/utils/logging.ts +++ b/packages/bundler-plugin-core/src/utils/logging.ts @@ -13,7 +13,7 @@ export function prepareMessage(msg: unknown): string { export function l(msg: string): void { // Required to properly log to the console // eslint-disable-next-line no-console - console.log(msg); + console.log(`[codecov] ${msg}`); } export function nl(): void {