You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If assigned, this callback will be called before sending a log message to Sentry. It can be used to modify the log message or prevent it from being sent.
Enables Sentry structured logging functionality. When enabled, Godot's log messages are automatically captured and sent to Sentry, and you gain access to the dedicated logging APIs available through [member SentrySDK.logger].
Adds multiple attributes to the log entry from a Dictionary. Each key-value pair in the dictionary becomes an attribute, where the key serves as the attribute name and the value as the attribute value. This method is most efficient when adding multiple attributes at once. For single attributes, use [method set_attribute] instead.
18
+
[b]Note:[/b] Attributes support integers, booleans, floats, and strings. Other data types will be automatically converted to strings.
19
+
</description>
20
+
</method>
21
+
<methodname="get_attribute"qualifiers="const">
22
+
<returntype="Variant" />
23
+
<paramindex="0"name="name"type="String" />
24
+
<description>
25
+
Retrieves the value of an attribute by its name. If the attribute does not exist, returns [code]null[/code].
26
+
</description>
27
+
</method>
28
+
<methodname="remove_attribute">
29
+
<returntype="void" />
30
+
<paramindex="0"name="name"type="String" />
31
+
<description>
32
+
Removes an attribute from the log entry by its name.
33
+
</description>
34
+
</method>
35
+
<methodname="set_attribute">
36
+
<returntype="void" />
37
+
<paramindex="0"name="name"type="String" />
38
+
<paramindex="1"name="value"type="Variant" />
39
+
<description>
40
+
Sets the value of an attribute by its name. If the attribute does not exist, it will be created. For adding multiple attributes at once, use [method add_attributes] instead.
41
+
[b]Note:[/b] Attributes support integers, booleans, floats, and strings. Other data types will be automatically converted to strings.
The severity level of the log entry. Uses the [enum LogLevel] enumeration to specify how critical the message is, ranging from trace-level debugging information to fatal errors.
0 commit comments