21 lines
461 B
TypeScript
21 lines
461 B
TypeScript
import { Logger } from "@core/shared/application";
|
|
|
|
export class ConsoleLogger implements Logger {
|
|
debug(message: string, ...args: any[]): void {
|
|
console.debug(message, ...args);
|
|
}
|
|
|
|
info(message: string, ...args: any[]): void {
|
|
console.info(message, ...args);
|
|
}
|
|
|
|
warn(message: string, ...args: any[]): void {
|
|
console.warn(message, ...args);
|
|
}
|
|
|
|
error(message: string, ...args: any[]): void {
|
|
console.error(message, ...args);
|
|
}
|
|
|
|
}
|