fix logger
This commit is contained in:
6
core/shared/application/Logger.ts
Normal file
6
core/shared/application/Logger.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export interface Logger {
|
||||
debug(message: string, context?: Record<string, any>): void;
|
||||
info(message: string, context?: Record<string, any>): void;
|
||||
warn(message: string, context?: Record<string, any>): void;
|
||||
error(message: string, error?: Error, context?: Record<string, any>): void;
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
export * from './UseCase';
|
||||
export * from './AsyncUseCase';
|
||||
export * from './Service';
|
||||
export * from './Service';
|
||||
export * from './Logger';
|
||||
Reference in New Issue
Block a user