Skip to content

Commit 117312a

Browse files
committed
fix: print to stderr instead of stdout
1 parent df7cc39 commit 117312a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export function configure({ longTaskThreshold = 300 }: DebugOptions = {}): Async
8585
longTaskThreshold[event.resourceType] ?? 300;
8686

8787
if (duration > threshold) {
88-
console.log(`Executing asynchronous task ${asyncId} using ${event.resourceType} took ${duration}ms to complete.`);
88+
console.warn(`Executing asynchronous task ${asyncId} using ${event.resourceType} took ${duration}ms to complete.`);
8989
}
9090
}
9191

0 commit comments

Comments
 (0)