Internal metadata type for logEvent — intentionally excludes raw strings to avoid accidentally logging code / file paths.
typedef LogEventMetadata = Map<String, Object?>;