@swell/cli
Version:
Swell's command line interface/utility
27 lines (26 loc) • 730 B
TypeScript
import type { LogItem } from '../../types/index.js';
export { LineOutput } from './line-output.js';
export { TableOutput } from './table-output.js';
/**
* A log item.
*
* A common class for all log types that handles the mapping of log data to the
* columns. This mapping is to then be used by all output options consistently.
*/
export declare class LoggedItem implements LogItem {
app: string;
data: string;
date: string;
env: string;
ip: string;
req: string;
request: string;
status: string;
time: string;
type: string;
constructor(log: any);
private prepareRequest;
private prepareRequestWorkflow;
private prepareRequestFunction;
private prepareConsoleLines;
}