1 | import { ProgressLog } from "@atomist/sdm/spi/log/ProgressLog";
|
2 | import { AxiosInstance } from "axios";
|
3 | import { WrapOptions } from "retry";
|
4 |
|
5 |
|
6 |
|
7 | export declare class RolarProgressLog implements ProgressLog {
|
8 | private readonly rolarBaseUrl;
|
9 | private readonly logPath;
|
10 | private readonly bufferSizeLimit;
|
11 | private readonly timerInterval;
|
12 | private readonly logLevel;
|
13 | private readonly timestamper;
|
14 | private readonly retryOptions;
|
15 | private readonly axiosInstance;
|
16 | private localLogs;
|
17 | private readonly timer;
|
18 | constructor(rolarBaseUrl: string, logPath: string[], bufferSizeLimit?: number, timerInterval?: number, logLevel?: string, timestamper?: Iterator<Date>, retryOptions?: WrapOptions, axiosInstance?: AxiosInstance);
|
19 | readonly name: string;
|
20 | readonly url: string;
|
21 | isAvailable(): Promise<boolean>;
|
22 | write(what: string): void;
|
23 | flush(): Promise<any>;
|
24 | close(): Promise<any>;
|
25 | private postLogs;
|
26 | private constructUtcTimestamp;
|
27 | private constructMillisTimestamp;
|
28 | }
|
29 | //# sourceMappingURL=RolarProgressLog.d.ts.map |
\ | No newline at end of file |