OptionalchannelLogical channel; see LOG_CHANNEL_ATTRIBUTE.
OptionalfileSource file the log came from.
OptionalinternalWhether this is A11's own bookkeeping rather than a user-facing line.
OptionallevelLevel name; omitted is DEFAULT_LOG_LEVEL.
OptionallinenoSource line the log came from.
OptionalmetadataExtra attributes, merged before the fields above.
OptionalmimetypeMedia type hint for the serializer.
Unlike C++, TypeScript distinguishes text from bytes already: a string is
text/plain and a Uint8Array is application/octet-stream through the
ordinary registry, so a log needs no special case here.
Everything about a log other than the value being logged.