setAttributes static method
Adds attributes to the current Scope. These attributes will be applied to logs. When the same attribute keys exist on the current log, it takes precedence over an attribute with the same key set on any scope.
Implementation
static void setAttributes(Map<String, SentryAttribute> attributes) {
_hub.setAttributes(attributes);
}