@sasjs/cli
Version:
Command line interface for SASjs
12 lines (11 loc) • 567 B
TypeScript
import SASjs from '@sasjs/adapter/node';
import { LogJson } from '../../types';
/**
* Fetches content of the log file
* @param {object} sasjs - configuration object of SAS adapter.
* @param {string} accessToken - an access token for an authorized user.
* @param {string} logUrl - url of the log file.
* @param {number} logCount- total number of log lines in file.
* @returns an object containing log lines in 'items' array.
*/
export declare const fetchLogFileContent: (sasjs: SASjs, accessToken: string, logUrl: string, logCount: number) => Promise<LogJson>;