import { injectable } from 'inversify' ; import { ILogger } from '../ILogger' ; @ injectable ( ) export class ConsoleLogger implements ILogger { public info ( message ? , ... optionalParams ) { console . info ( message , ... optionalParams ) ; } public error ( message ? , ... optionalParams ) { console . error ( message , ... optionalParams ) ; } }