Skip to content

Commit 4ad2b5f

Browse files
committed
refactor(core): Logger abstraction added
1 parent 70760fd commit 4ad2b5f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/core/src/utils/log.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export type LogType = 'log' | 'warn' | 'error' | 'info';
2+
3+
export interface Logger {
4+
(msg: string, type?: LogType, args?: unknown): void;
5+
}

0 commit comments

Comments
 (0)