generator.client.vue.webapp.app.common.secondary.ConsoleLogger.ts.mustache Maven / Gradle / Ivy
import { Logger } from '@/common/domain/Logger';
import { Message } from '@/common/domain/Message';
export default class ConsoleLogger implements Logger {
constructor(private readonly logger: Console) {}
error(message: Message, error: Error) {
this.logger.error(`${message}\n`, error);
}
}