UNPKG

@teamsparta/cross-platform-logger

Version:

```typescript import * as CPL from "@teamsparta/cross-platform-logger";

17 lines (16 loc) 778 B
import { PutRecordsOutput, PutRecordsRequestEntry } from "@aws-sdk/client-kinesis"; export declare class FlounderLog { private readonly _is_dev; private readonly _region; private _client; private _recordData; constructor(flounder_key: string, is_dev?: boolean); initKinesis: (flounder_key: string) => void; _getStream: () => "TEST.online_lead_kinesis" | "PROD.sparta_online"; _debug: (title: any, data: any) => void; push_events: (key: string, data?: {}) => void; get_failed_events: (result: PutRecordsOutput) => PutRecordsRequestEntry[]; send: () => Promise<import("@aws-sdk/client-kinesis").PutRecordsCommandOutput | undefined>; sendInterval: () => void; send_events_keep_alive: (key: string, data?: {}) => Promise<void>; }