Skip to content

Commit fc5ddbb

Browse files
committed
adding missing javadocs
1 parent f270455 commit fc5ddbb

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ public SentryAppender(
6565
* Create a Sentry Appender.
6666
*
6767
* @param name The name of the Appender.
68+
* @param minimumBreadcrumbLevel The min. level of the breadcrumb.
69+
* @param minimumEventLevel The min. level of the event.
70+
* @param dsn the Sentry DSN.
6871
* @param filter The filter, if any, to use.
6972
* @return The SentryAppender.
7073
*/

sentry-spring/src/main/java/io/sentry/spring/EnableSentry.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,19 @@
2121
@Import({SentryHubRegistrar.class, SentryInitBeanPostProcessor.class, SentryWebConfiguration.class})
2222
@Target(ElementType.TYPE)
2323
public @interface EnableSentry {
24+
2425
/**
2526
* The DSN tells the SDK where to send the events to. If this value is not provided, the SDK will
2627
* just not send any events.
28+
*
29+
* @return the Sentry DSN
2730
*/
2831
String dsn() default "";
2932

30-
/** Whether to send personal identifiable information along with events. */
33+
/**
34+
* Whether to send personal identifiable information along with events.
35+
*
36+
* @return true if send default PII or false otherwise.
37+
*/
3138
boolean sendDefaultPii() default false;
3239
}

0 commit comments

Comments
 (0)