Installation
npm install --save @types/datadog-winston
Summary
This package contains type definitions for datadog-winston (https://github.com/itsfadnis/datadog-winston).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/datadog-winston.
index.d.ts
import TransportStream = require("winston-transport");
declare namespace DatadogWinston {
interface DatadogTransportOptions extends TransportStream.TransportStreamOptions {
apiKey: string;
hostname?: string | undefined;
service?: string | undefined;
ddsource?: string | undefined;
ddtags?: string | undefined;
intakeRegion?: string | undefined;
}
}
declare class DatadogWinston extends TransportStream {
constructor(options: DatadogWinston.DatadogTransportOptions);
log?(info: any, next: () => void): void;
}
export = DatadogWinston;
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: @types/node, logform, winston-transport
Credits
These definitions were written by Matt Hintzke.