next.js
f0166228 - Prefix `'use cache'` debug logs with the full directive (#97037)

Commit
97 days ago
Prefix `'use cache'` debug logs with the full directive (#97037) With `NEXT_PRIVATE_DEBUG_CACHE` enabled, every log line from the "use cache" wrapper used the same generic `use-cache:` prefix, so output from `"use cache: remote"` or `"use cache: private"` functions was indistinguishable from plain `"use cache"`. Each wrapper line is now prefixed with the full quoted directive, derived from the handler kind: `'use cache'` for the default kind, `'use cache: <kind>'` otherwise.
Author
Parents
Loading