withLogCollector()
Home > @backstage/test-utils > withLogCollector
Asynchronous log collector with that collects all categories
Signature:
function withLogCollector(callback: AsyncLogCollector): Promise<CollectedLogs<LogFuncs>>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
callback |
Promise<CollectedLogs<LogFuncs>>