Skip to content

Commit

Permalink
Use provided logger instead of xsbt.Log.debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Friendseeker committed Dec 17, 2024
1 parent 8d50f01 commit 73811b4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import xsbti.{

import sbt.util.InterfaceUtil
import sbt.util.Logger
import xsbt.Log.debug

/**
* Define a Java compiler that reports on any discovered source dependencies or
Expand Down Expand Up @@ -169,7 +168,7 @@ final class AnalyzingJavaCompiler private[sbt] (
).toArray
val javaSources: Array[VirtualFile] =
sources.sortBy(_.id).toArray
debug(log, prettyPrintCompilationArguments(args))
log.debug(InterfaceUtil.toSupplier(prettyPrintCompilationArguments(args)))
val success =
javac.run(javaSources, args, output, incToolOptions, reporter, log)
if (!success) {
Expand Down

0 comments on commit 73811b4

Please sign in to comment.