Skip to content

Commit

Permalink
Excavator: Migrate to the logsafe SafeLogger API
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-excavator-bot committed Sep 23, 2024
1 parent 17d8c13 commit ea92458
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions gradle-jdks/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ dependencies {
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.mockito:mockito-junit-jupiter'
implementation 'com.palantir.safe-logging:logger'
}

gradlePlugin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
package com.palantir.gradle.jdks;

import com.palantir.gradle.jdks.enablement.GradleJdksEnablement;
import com.palantir.logsafe.logger.SafeLogger;
import com.palantir.logsafe.logger.SafeLoggerFactory;
import java.io.File;
import java.util.Arrays;
import org.gradle.api.Plugin;
Expand All @@ -26,7 +28,7 @@

public final class JdksPlugin implements Plugin<Project> {

private static final Logger log = LoggerFactory.getLogger(JdksPlugin.class);
private static final SafeLogger log = SafeLoggerFactory.get(JdksPlugin.class);

@Override
public void apply(Project rootProject) {
Expand Down

0 comments on commit ea92458

Please sign in to comment.