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.22.0
Show newest version
import type { Logger } from '@/common/domain/Logger';
import type { 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