File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
sentry-log4j2/src/main/java/io/sentry/log4j2
sentry-logback/src/main/java/io/sentry/logback Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 2424import io .sentry .protocol .Mechanism ;
2525import io .sentry .protocol .Message ;
2626import io .sentry .protocol .SdkVersion ;
27- import io .sentry .util .CollectionUtils ;
2827import io .sentry .util .LoggerPropertiesUtil ;
2928import java .util .Arrays ;
3029import java .util .Collections ;
@@ -232,7 +231,8 @@ protected void captureLog(@NotNull LogEvent loggingEvent) {
232231 }
233232
234233 final @ NotNull Map <String , String > contextData = loggingEvent .getContextData ().toMap ();
235- final @ NotNull List <String > contextTags = ScopesAdapter .getInstance ().getOptions ().getContextTags ();
234+ final @ NotNull List <String > contextTags =
235+ ScopesAdapter .getInstance ().getOptions ().getContextTags ();
236236 LoggerPropertiesUtil .applyPropertiesToAttributes (attributes , contextTags , contextData );
237237
238238 final @ NotNull SentryLogParameters params = SentryLogParameters .create (attributes );
Original file line number Diff line number Diff line change @@ -188,7 +188,8 @@ protected void captureLog(@NotNull ILoggingEvent loggingEvent) {
188188 }
189189
190190 final @ NotNull Map <String , String > mdcProperties = loggingEvent .getMDCPropertyMap ();
191- final @ NotNull List <String > contextTags = ScopesAdapter .getInstance ().getOptions ().getContextTags ();
191+ final @ NotNull List <String > contextTags =
192+ ScopesAdapter .getInstance ().getOptions ().getContextTags ();
192193 LoggerPropertiesUtil .applyPropertiesToAttributes (attributes , contextTags , mdcProperties );
193194
194195 final @ NotNull SentryLogParameters params = SentryLogParameters .create (attributes );
You can’t perform that action at this time.
0 commit comments