@types/datadog-winston
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

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

Credits

These definitions were written by Matt Hintzke.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/datadog-winston

Weekly Downloads

15,182

Version

1.0.7

License

MIT

Unpacked Size

4.05 kB

Total Files

5

Last publish

Collaborators

  • types