Skip to content

Commit 5c746e3

Browse files
fix(runtime-core): change log to error for remote removal failure and remove redundant log function (#4514)
Co-authored-by: ScriptedAlchemy <zackaryjackson@bytedance.com>
1 parent e5dd6ef commit 5c746e3

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.changeset/modern-cats-shake.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@module-federation/runtime-core': patch
3+
---
4+
5+
fix(runtime-core): change log to error for remote removal failure and remove redundant log function

packages/runtime-core/src/utils/logger.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,4 @@ export function warn(msg: Parameters<typeof console.warn>[0]): void {
8080
}
8181
}
8282

83-
export function log(...args: unknown[]) {
84-
logger.log(...args);
85-
}
86-
8783
export { logger };

0 commit comments

Comments
 (0)