All Downloads are FREE. Search and download functionalities are using the official Maven repository.

generator.client.vue.webapp.app.common.secondary.ConsoleLogger.ts.mustache Maven / Gradle / Ivy

There is a newer version: 1.18.1
Show newest version
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);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy