UNPKG

@userfrosting/ts-log-adapter-ava

Version:

Plug ava test logging into ts-log compatible logging interfaces.

9 lines (8 loc) 277 B
import TsLog from "ts-log"; import { LogFn } from "ava"; /** * Maps lib logging to ava logging to assist debugging of failing tests. * @param log - Log function from test execution context. * @public */ export declare function logAdapter(log: LogFn): TsLog.Logger;