DISPLAY_NAME_FIELD
이 콘텐츠는 아직 번역되지 않았습니다.
constDISPLAY_NAME_FIELD:"displayName"='displayName'
Defined in: src/Logger.ts:44
Reserved static-field key holding an actor’s human-readable name — what
Actor.displayName() resolved to (#891).
A field rather than a new Logger member, because Logger is a
documented extension point: adding a required method would break every
third-party implementation, while a field costs nothing. It also
carries itself: JsonLogger and the OTel adapter already spread the
static fields, so the name lands there as a separate queryable
key/attribute with no code of their own. Only ConsoleLogger treats it
specially, lifting it into the line head where a human reads it.
The name never replaces source — the path stays the identity, and
everything that routes, correlates or aggregates keeps using it.
