UNPKG

take-shot

Version:
14 lines 492 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Context = void 0; const logger_1 = require("./logger"); class Context { constructor(options, windowBounds) { this.windowBounds = windowBounds; this.instanceName = `#${Context.instanceCount++}`; this.logger = new logger_1.Logger({ id: this.instanceName, enabled: options.logging }); } } exports.Context = Context; Context.instanceCount = 1; //# sourceMappingURL=context.js.map