Aller au contenu principal

@log-right/base > CaptureFunctionBase

CaptureFunctionBase type​

The function definition for any implementations of capture. Custom user-defined methods should be sure to align with this.

Signature:
export declare type CaptureFunctionBase<TFormatted extends FormattedData = FormattedData, TReport extends Report<TFormatted> = Report<TFormatted>, TReturnedCapture = unknown, TResultCapture extends IResult<TReturnedCapture> = IResult<TReturnedCapture>> = (report: TReport) => TResultCapture | unknown;
References: [FormattedData](/log-right/fr/docs/base.formatteddata), [Report](/log-right/fr/docs/base.report), [IResult](/log-right/fr/docs/base.iresult)