@mieweb/wikigdrive
Version:
Google Drive to MarkDown synchronization
24 lines • 847 B
TypeScript
import fs, { ReadStream } from 'node:fs';
import { StreamOptions } from 'node:stream';
import Transport, { TransportStreamOptions } from 'winston-transport';
interface JobLogStreamOptions extends TransportStreamOptions {
file_options?: StreamOptions<ReadStream>;
zippedArchive?: boolean;
extension?: string;
dirname: string;
filename: string;
eol?: string;
}
export declare class JobLogFile extends Transport {
name: string;
private options;
private dirname;
private filename;
constructor(options: JobLogStreamOptions);
log(info: any, callback: any): void;
close(): Promise<void>;
getLogStream(driveId: string, jobId: string): fs.WriteStream;
query(options: any, callback: any): Promise<import("./JobLogFileProcessor.js").LogLine[]>;
}
export {};
//# sourceMappingURL=JobLogFile.d.ts.map