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
We introduced experimental support for Structured Logs (currently in Beta) with the version 5.14.0 of the Sentry SDK for .NET.
This includes both SentryStructuredLogger APIs, accessible via SentrySdk,
as well as an integration for Microsoft.Extensions.Logging through the ILogger<TCategoryName> interface.
π¦ Prerequisites
You can enable Structured Logs, both the SentrySdk.Experimental.Logger APIs and the ILogger<TCategoryName> integration, through the options:
options =>{options.Experimental.EnableLogs=true;}
You can filter and/or configure logs via the callback:
We value all your feedback about scenarios that work well for you, and improvements for upcoming versions.
Feedback may include, but is definitely not limited to:
β Ease of use β Is the API intuitive?
β Configurability β Do you need more flexibility in capturing and sending logs?
β Performance impact β Have you noticed any overhead when enabling Structured Logs?
β Compatibility β Have you encountered issues on specific runtimes or configurations?
We want to ensure this feature works smoothly across different scenarios before stabilizing the API and behavior, so your input is extremely valuable! π
Thanks for helping us improve the Sentry SDK for .NET! ππ
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
We introduced experimental support for Structured Logs (currently in Beta) with the version 5.14.0 of the Sentry SDK for .NET.
This includes both
SentryStructuredLogger
APIs, accessible viaSentrySdk
,as well as an integration for
Microsoft.Extensions.Logging
through theILogger<TCategoryName>
interface.π¦ Prerequisites
You can enable Structured Logs, both the
SentrySdk.Experimental.Logger
APIs and theILogger<TCategoryName>
integration, through the options:You can filter and/or configure logs via the callback:
Please find more details in the documentation.
Keep in mind that the related APIs are still marked
[Experimental]
.π Documentation
π Feedback
We value all your feedback about scenarios that work well for you, and improvements for upcoming versions.
Feedback may include, but is definitely not limited to:
β Ease of use β Is the API intuitive?
β Configurability β Do you need more flexibility in capturing and sending logs?
β Performance impact β Have you noticed any overhead when enabling Structured Logs?
β Compatibility β Have you encountered issues on specific runtimes or configurations?
π§ Let Us Know Your Thoughts!
We want to ensure this feature works smoothly across different scenarios before stabilizing the API and behavior, so your input is extremely valuable! π
Thanks for helping us improve the Sentry SDK for .NET! ππ
Beta Was this translation helpful? Give feedback.
All reactions