3030public abstract class LoggerConfig {
3131
3232 private static final LoggerConfig DEFAULT_CONFIG =
33- new AutoValue_LoggerConfig (/* enabled= */ true , /* minimumSeverity= */ 0 , /* traceBased= */ false );
33+ new AutoValue_LoggerConfig (
34+ /* enabled= */ true , /* minimumSeverity= */ 0 , /* traceBased= */ false );
3435 private static final LoggerConfig DISABLED_CONFIG =
35- new AutoValue_LoggerConfig (/* enabled= */ false , /* minimumSeverity= */ 0 , /* traceBased= */ false );
36+ new AutoValue_LoggerConfig (
37+ /* enabled= */ false , /* minimumSeverity= */ 0 , /* traceBased= */ false );
3638
3739 /** Returns a disabled {@link LoggerConfig}. */
3840 public static LoggerConfig disabled () {
@@ -44,9 +46,7 @@ public static LoggerConfig enabled() {
4446 return DEFAULT_CONFIG ;
4547 }
4648
47- /**
48- * Returns a new {@link Builder} for creating a {@link LoggerConfig}.
49- */
49+ /** Returns a new {@link Builder} for creating a {@link LoggerConfig}. */
5050 public static Builder builder () {
5151 return new Builder ();
5252 }
@@ -72,8 +72,8 @@ public static ScopeConfiguratorBuilder<LoggerConfig> configuratorBuilder() {
7272 /**
7373 * Builder for {@link LoggerConfig}.
7474 *
75- * <p>This class is internal and experimental. Its APIs are unstable and can change at any time. Its
76- * APIs (or a version of them) may be promoted to the public stable API in the future, but no
75+ * <p>This class is internal and experimental. Its APIs are unstable and can change at any time.
76+ * Its APIs (or a version of them) may be promoted to the public stable API in the future, but no
7777 * guarantees are made.
7878 */
7979 public static final class Builder {
@@ -96,9 +96,9 @@ public Builder setEnabled(boolean enabled) {
9696
9797 /**
9898 * Sets the minimum severity level for log records to be processed.
99- *
100- * <p>Log records with a severity number less than this value will be dropped.
101- * Log records without a specified severity are not affected by this setting.
99+ *
100+ * <p>Log records with a severity number less than this value will be dropped. Log records
101+ * without a specified severity are not affected by this setting.
102102 *
103103 * @param minimumSeverity minimum severity level for log records to be processed
104104 * @return this builder
@@ -110,9 +110,9 @@ public Builder setMinimumSeverity(int minimumSeverity) {
110110
111111 /**
112112 * Sets whether to only process log records from sampled traces.
113- *
114- * <p>When enabled, log records from unsampled traces will be dropped.
115- * Log records that are not associated with a trace context are unaffected.
113+ *
114+ * <p>When enabled, log records from unsampled traces will be dropped. Log records that are not
115+ * associated with a trace context are unaffected.
116116 *
117117 * @param traceBased whether to only process log records from sampled traces
118118 * @return this builder
@@ -122,9 +122,7 @@ public Builder setTraceBased(boolean traceBased) {
122122 return this ;
123123 }
124124
125- /**
126- * Builds and returns a {@link LoggerConfig}.
127- */
125+ /** Builds and returns a {@link LoggerConfig}. */
128126 public LoggerConfig build () {
129127 return new AutoValue_LoggerConfig (enabled , minimumSeverity , traceBased );
130128 }
@@ -135,20 +133,20 @@ public LoggerConfig build() {
135133
136134 /**
137135 * Returns the minimum severity level for log records to be processed.
138- *
139- * <p>Log records with a severity number less than this value will be dropped.
140- * Log records without a specified severity are not affected by this setting.
141- *
136+ *
137+ * <p>Log records with a severity number less than this value will be dropped. Log records without
138+ * a specified severity are not affected by this setting.
139+ *
142140 * <p>Defaults to {@code 0}.
143141 */
144142 public abstract int getMinimumSeverity ();
145143
146144 /**
147145 * Returns {@code true} if this logger should only process log records from sampled traces.
148- *
149- * <p>When enabled, log records from unsampled traces will be dropped.
150- * Log records that are not associated with a trace context are unaffected.
151- *
146+ *
147+ * <p>When enabled, log records from unsampled traces will be dropped. Log records that are not
148+ * associated with a trace context are unaffected.
149+ *
152150 * <p>Defaults to {@code false}.
153151 */
154152 public abstract boolean isTraceBased ();
0 commit comments