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 Oct 18, 2024
1 parent aa7b798 commit 6ff8d03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
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,16 +17,16 @@
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;
import org.gradle.api.Project;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

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 6ff8d03

Please sign in to comment.