Skip to content

Commit 381701f

Browse files
committed
Format code
1 parent 9343cac commit 381701f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

sentry-log4j2/src/main/java/io/sentry/log4j2/SentryAppender.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import io.sentry.protocol.Mechanism;
2525
import io.sentry.protocol.Message;
2626
import io.sentry.protocol.SdkVersion;
27-
import io.sentry.util.CollectionUtils;
2827
import io.sentry.util.LoggerPropertiesUtil;
2928
import java.util.Arrays;
3029
import 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);

sentry-logback/src/main/java/io/sentry/logback/SentryAppender.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)