UNPKG

applicationinsights

Version:

Microsoft Application Insights module for Node.js

20 lines 615 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AttributeLogProcessor = void 0; class AttributeLogProcessor { constructor(attributes) { this._attributes = attributes; } // Override onEmit to apply log record attributes before exporting onEmit(record) { record.setAttributes(this._attributes); } shutdown() { return Promise.resolve(); } forceFlush() { return Promise.resolve(); } } exports.AttributeLogProcessor = AttributeLogProcessor; //# sourceMappingURL=attributeLogRecordProcessor.js.map