function log<T, R>( options: LogOptions, fn: (...args: T) => Promise<R>, ): (...args: T) => Promise<R>;
Defined in: src/wrappers.ts:53
Wraps a function to log its execution as a span in Galileo.
T extends unknown[]
T
unknown
R
LogOptions
(…args: T) => Promise<R>
args
Promise
(...args: T): Promise<R>;
…T
Promise<R>