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
<!-- Use this checklist to make sure your PR is ready for merge. You may
delete any sections you don't need. -->
## DESCRIBE YOUR PR
This PR updates the logging documentation for various SDKs to include a
new "Default Attributes" section. The goal is to clearly inform users
about the attributes automatically set by each SDK on log entries,
providing better context for debugging. This is achieved by implementing
a modular include structure, ensuring consistency and reusability of
attribute definitions (core, user, server, browser, mobile) across
different SDKs, along with SDK-specific message template details.
resolves
https://linear.app/getsentry/issue/LOGS-172/document-default-attributes-attached-to-a-log
resolves
https://linear.app/getsentry/issue/LOGS-276/update-sdk-docs-to-mention-body-is-required-in-usage-section
## IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs
to go live.
- [ ] Urgent deadline (GA date, etc.): <!-- ENTER DATE HERE -->
- [ ] Other deadline: <!-- ENTER DATE HERE -->
- [X] None: Not urgent, can wait up to 1 week+
## SLA
- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
added an urgent due date to it.
Thanks in advance for your help!
## PRE-MERGE CHECKLIST
*Make sure you've checked the following before merging your changes:*
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
## LEGAL BOILERPLATE
<!-- Sentry employees and contractors can delete or ignore this section.
-->
Look, I get it. The entity doing business as "Sentry" was incorporated
in the State of Delaware in 2015 as Functional Software, Inc. and is
gonna need some rights from me in order to utilize my contributions in
this here PR. So here's the deal: I retain all rights, title and
interest in and to my contributions, and by keeping this boilerplate
intact I confirm that Sentry can use, modify, copy, and redist
Copy file name to clipboardExpand all lines: docs/platforms/apple/common/logs/index.mdx
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: "Structured logs allow you to send, view and query logs sent from y
5
5
sidebar_order: 5755
6
6
---
7
7
8
-
With Sentry Structured Logs, you can send textbased log information from your applications to Sentry. Once in Sentry, these logs can be viewed alongside relevant errors, searched by text-string, or searched using their individual attributes.
8
+
With Sentry Structured Logs, you can send text-based log information from your applications to Sentry. Once in Sentry, these logs can be viewed alongside relevant errors, searched by text-string, or searched using their individual attributes.
9
9
10
10
## Requirements
11
11
@@ -22,3 +22,7 @@ With Sentry Structured Logs, you can send text based log information from your a
Copy file name to clipboardExpand all lines: docs/platforms/dart/common/logs/index.mdx
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,6 @@ description: "Structured logs allow you to send, view and query logs sent from y
5
5
sidebar_order: 5755
6
6
---
7
7
8
-
9
8
With Sentry Structured Logs, you can send text-based log information from your applications to Sentry. Once in Sentry, these logs can be viewed alongside relevant errors, searched by text-string, or searched using their individual attributes.
10
9
11
10
## Requirements
@@ -27,3 +26,7 @@ With Sentry Structured Logs, you can send text-based log information from your a
Copy file name to clipboardExpand all lines: docs/platforms/dart/guides/flutter/logs/index.mdx
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,6 @@ description: "Structured logs allow you to send, view and query logs sent from y
5
5
sidebar_order: 5755
6
6
---
7
7
8
-
9
8
With Sentry Structured Logs, you can send text-based log information from your applications to Sentry. Once in Sentry, these logs can be viewed alongside relevant errors, searched by text-string, or searched using their individual attributes.
10
9
11
10
## Requirements
@@ -23,3 +22,7 @@ With Sentry Structured Logs, you can send text-based log information from your a
Copy file name to clipboardExpand all lines: docs/platforms/dotnet/common/logs/index.mdx
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,6 @@ notSupported:
11
11
- dotnet.xamarin
12
12
---
13
13
14
-
15
14
With Sentry Structured Logs, you can send text-based log information from your applications to Sentry. Once in Sentry, these logs can be viewed alongside relevant errors, searched by text-string, or searched using their individual attributes.
16
15
17
16
## Requirements
@@ -33,3 +32,7 @@ With Sentry Structured Logs, you can send text-based log information from your a
@@ -5,129 +5,34 @@ description: "Structured logs allow you to send, view, and query logs sent from
5
5
sidebar_order: 5600
6
6
---
7
7
8
-
9
8
With Sentry Structured Logs, you can send text-based log information from your applications to Sentry. Once in Sentry, these logs can be viewed alongside relevant errors, searched by text-string, or searched using their individual attributes.
10
9
11
10
## Requirements
12
11
13
-
Logs in Go are supported in Sentry Go SDK version `0.33.0` and above. To use integrations with other logging libraries, check their specific documentation pages for detailed requirements.
14
-
15
-
## Configure
16
-
17
-
### Initialize the Sentry SDK
18
-
19
-
To enable logging, you need to initialize the SDK with the `EnableLogs` option set to true.
Copy file name to clipboardExpand all lines: docs/platforms/java/common/logs/index.mdx
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,6 @@ description: "Structured logs allow you to send, view and query logs sent from y
5
5
sidebar_order: 5755
6
6
---
7
7
8
-
9
8
With Sentry Structured Logs, you can send text-based log information from your applications to Sentry. Once in Sentry, these logs can be viewed alongside relevant errors, searched by text-string, or searched using their individual attributes.
10
9
11
10
## Requirements
@@ -27,3 +26,7 @@ With Sentry Structured Logs, you can send text-based log information from your a
Copy file name to clipboardExpand all lines: docs/platforms/javascript/common/logs/index.mdx
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,6 @@ notSupported:
10
10
11
11
<PlatformContentincludePath="llm-rules-logs" />
12
12
13
-
14
13
With Sentry Structured Logs, you can send text-based log information from your applications to Sentry. Once in Sentry, these logs can be viewed alongside relevant errors, searched by text-string, or searched using their individual attributes.
15
14
16
15
## Requirements
@@ -32,3 +31,7 @@ With Sentry Structured Logs, you can send text-based log information from your a
Copy file name to clipboardExpand all lines: docs/platforms/php/common/logs/index.mdx
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,6 @@ description: "Structured logs allow you to send, view and query logs sent from y
5
5
sidebar_order: 5600
6
6
---
7
7
8
-
9
8
With Sentry Structured Logs, you can send text-based log information from your applications to Sentry. Once in Sentry, these logs can be viewed alongside relevant errors, searched by text-string, or searched using their individual attributes.
10
9
11
10
<Alerttitle="Looking for Symfony?">
@@ -29,3 +28,7 @@ Let us know what you would like to see on GitHub: [Symfony Logs](https://github.
Copy file name to clipboardExpand all lines: docs/platforms/php/guides/laravel/logs/index.mdx
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,6 @@ description: "Structured logs allow you to send, view and query logs sent from y
5
5
sidebar_order: 5600
6
6
---
7
7
8
-
9
8
With Sentry Structured Logs, you can send text-based log information from your Laravel applications to Sentry. Once in Sentry, these logs can be viewed alongside relevant errors, searched by text-string, or searched using their individual attributes.
10
9
11
10
## Requirements
@@ -24,6 +23,10 @@ With Sentry Structured Logs, you can send text-based log information from your L
0 commit comments