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
Once the feature is enabled on the SDK and the SDK is initialized, you can send logs using the `SentrySDK.logger` APIs.
2
2
3
-
The `SentrySDK.logger` exposes six methods that you can use to log messages at different log levels: `trace`, `debug`, `info`, `warn`, `error`, and `fatal`.
3
+
The `SentrySDK.logger` exposes six methods that you can use to log messages at different log levels: `trace`, `debug`,
Structured attributes support `bool`, `int`, `float`, and `String` data types. Other types will be converted to strings.
19
44
20
45
### Godot Logging Integration
21
46
22
-
When the feature is enabled, the SDK automatically captures Godot messages, warnings, and errors as logs. You can use `print()`, `push_warning()`, and `push_error()` as usual. These show up as `info`, `warning`, and `error` logs. The SDK also turns runtime errors and warnings into events based on your configuration.
47
+
When the feature is enabled, the SDK automatically captures Godot messages, warnings, and errors as logs. You can use
48
+
`print()`, `push_warning()`, and `push_error()` as usual. These show up as `info`, `warning`, and `error` logs. The SDK
49
+
also turns runtime errors and warnings into events based on your configuration.
0 commit comments