npm install --save @types/entropy__winston-elasticsearch-apm
This package contains type definitions for @entropy/winston-elasticsearch-apm (https://gitlab.entropy.cc/entropy/winston-elasticsearch-apm).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/entropy__winston-elasticsearch-apm.
import Agent = require("elastic-apm-node");
import TransportStream = require("winston-transport");
declare class ElasticsearchApm extends TransportStream {
constructor(opts: ElasticsearchApm.ElasticsearchApmOptions);
log(info: any, next: () => void): any;
}
declare namespace ElasticsearchApm {
interface ElasticsearchApmOptions extends TransportStream.TransportStreamOptions {
apm: typeof Agent;
}
}
export = ElasticsearchApm;
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: @types/node, elastic-apm-node, logform, winston-transport
These definitions were written by Michael Vasyliv.