Skip to content

Commit f0fd4ce

Browse files
authored
ref(core): Add codecov prefix to log messages (#76)
1 parent 11eed01 commit f0fd4ce

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.changeset/khaki-lions-glow.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"@codecov/bundler-plugin-core": patch
3+
"@codecov/rollup-plugin": patch
4+
"@codecov/vite-plugin": patch
5+
"@codecov/webpack-plugin": patch
6+
---
7+
8+
Add codecov prefix to log messages

packages/bundler-plugin-core/src/utils/logging.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function prepareMessage(msg: unknown): string {
1313
export function l(msg: string): void {
1414
// Required to properly log to the console
1515
// eslint-disable-next-line no-console
16-
console.log(msg);
16+
console.log(`[codecov] ${msg}`);
1717
}
1818

1919
export function nl(): void {

0 commit comments

Comments
 (0)