bifocal/node_modules/bunyan-loggly/index.d.ts

28 lines
580 B
TypeScript
Raw Normal View History

2024-06-19 09:56:58 -04:00
import * as logger from 'bunyan';
export = BunyanLoggly;
declare class BunyanLoggly implements logger.Stream {
constructor(
options: BunyanLoggly.IOptions,
bufferLength?: number,
bufferTimeout?: number,
logglyCallback?: Function,
);
}
declare namespace BunyanLoggly {
interface IOptions {
token: string;
subdomain: string;
tags?: string[];
json?: boolean;
isBulk?: boolean;
host?: string;
auth?: {
username: string;
password: string;
};
}
}