Get a named logger. When ctxFn is supplied, every log call
automatically:
prepends a [key=value ...] prefix derived from ctxFn() to the
message string, so identifiers are visible in browser devtools
without expanding the structured context object, and
merges ctxFn() into the structured context passed to any
setLogExtension consumer, so ingestion pipelines continue to
receive the full metadata unchanged.
Get a named logger. When
ctxFnis supplied, every log call automatically:[key=value ...]prefix derived fromctxFn()to the message string, so identifiers are visible in browser devtools without expanding the structured context object, andctxFn()into the structured context passed to anysetLogExtensionconsumer, so ingestion pipelines continue to receive the full metadata unchanged.