Skip to content

Commit 17025f8

Browse files
committed
chore: format and update dependencies for LoggingTracer
1 parent 40a26cc commit 17025f8

File tree

2 files changed

+24
-5
lines changed

2 files changed

+24
-5
lines changed

sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/tracing/LoggingTracerFactory.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,12 @@
3535
import com.google.api.gax.logging.LoggingUtils;
3636
import com.google.common.annotations.VisibleForTesting;
3737

38-
/** A {@link ApiTracerFactory} that creates instances of {@link LoggingTracer}.
39-
* This class is intended for internal framework use only. Manual instantiation
40-
* is discouraged; the lifecycle is managed automatically by the system,
41-
* when {@link LoggingUtils#isLoggingEnabled()} returning {@code true}.
42-
* */
38+
/**
39+
* A {@link ApiTracerFactory} that creates instances of {@link LoggingTracer}. This class is
40+
* intended for internal framework use only. Manual instantiation is discouraged; the lifecycle is
41+
* managed automatically by the system, when {@link LoggingUtils#isLoggingEnabled()} returning
42+
* {@code true}.
43+
*/
4344
@BetaApi
4445
@InternalApi
4546
public class LoggingTracerFactory implements ApiTracerFactory {

sdk-platform-java/java-showcase/gapic-showcase/pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,24 @@
233233
</dependency>
234234

235235
<!-- Logging testing dependencies -->
236+
<dependency>
237+
<groupId>org.slf4j</groupId>
238+
<artifactId>slf4j-api</artifactId>
239+
<version>2.0.16</version>
240+
<scope>test</scope>
241+
</dependency>
242+
<dependency>
243+
<groupId>ch.qos.logback</groupId>
244+
<artifactId>logback-classic</artifactId>
245+
<version>${slf4j2-logback.version}</version>
246+
<scope>test</scope>
247+
</dependency>
248+
<dependency>
249+
<groupId>ch.qos.logback</groupId>
250+
<artifactId>logback-core</artifactId>
251+
<version>${slf4j2-logback.version}</version>
252+
<scope>test</scope>
253+
</dependency>
236254

237255
</dependencies>
238256
<profiles>

0 commit comments

Comments
 (0)