stellar-plus
Version:
beta version of stellar-plus, an all-in-one sdk for the Stellar blockchain
16 lines (15 loc) • 666 B
TypeScript
import { TransactionResources } from '../../../../stellar-plus/core/contract-engine/types';
import { GetLogOptions, LogEntry } from '../../../../stellar-plus/utils/profiler/profiling-handler/types';
export declare class ProfilingHandler {
private log;
resourceHandler: (methodName: string, costs: TransactionResources, elapsedTime: number, feeCharged: number) => void;
getLog: (options?: GetLogOptions) => LogEntry[] | string;
clearLog: () => void;
private filterLog;
private filterLogByMethods;
private filterLogByResources;
private aggregateLog;
private performAggregation;
private formatAsTable;
private formatAsCsv;
}