UNPKG

@goparrot/geocoder

Version:

TypeScript GeoCoder, node geocoding library, supports google maps, mapquest, here, open street map, tom tom

18 lines 486 B
import { NullLogger } from './null.logger'; export function LoggableMixin(Base) { return class extends Base { constructor() { super(...arguments); /* tslint:disable:prefer-readonly */ this.logger = new NullLogger(); } setLogger(logger) { this.logger = logger; return this; } getLogger() { return this.logger; } }; } //# sourceMappingURL=loggable.mixin.js.map