Unverified Commit f0166228 authored by Sebastian "Sebbie" Silbermann's avatar Sebastian "Sebbie" Silbermann Committed by GitHub

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.
parent 259abbba
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment