UNPKG

870 BTypeScriptView Raw
1import { HandlerContext } from "@atomist/automation-client";
2import { SdmGoalEvent } from "@atomist/sdm";
3import { ProgressLog } from "@atomist/sdm/spi/log/ProgressLog";
4/**
5 * Persistent Rolar log that displays in the Dashboard
6 */
7export declare class DashboardDisplayProgressLog implements ProgressLog {
8 private readonly context;
9 private readonly sdmGoal;
10 private readonly rolarProgressLog;
11 constructor(rolarBaseUrl: string, bufferSize: number, flushInterval: number, context: HandlerContext, sdmGoal: SdmGoalEvent);
12 readonly name: string;
13 readonly url: string;
14 isAvailable(): Promise<boolean>;
15 write(what: string): void;
16 flush(): Promise<any>;
17 close(): Promise<any>;
18}
19export declare function constructLogPath(context: HandlerContext, sdmGoal: SdmGoalEvent): string[];
20//# sourceMappingURL=DashboardDisplayProgressLog.d.ts.map
\No newline at end of file