[BTA] Add debug logging about the used compilation strategy
^KT-61860 In Progress
This commit is contained in:
committed by
Space Team
parent
dda6b92c13
commit
0196928af7
+2
@@ -123,6 +123,7 @@ internal object CompilationServiceImpl : CompilationService {
|
||||
sources: List<File>,
|
||||
arguments: List<String>,
|
||||
): CompilationResult {
|
||||
loggerAdapter.kotlinLogger.debug("Compiling using the in-process strategy")
|
||||
val compiler = K2JVMCompiler()
|
||||
val parsedArguments = compiler.createArguments()
|
||||
parseCommandLineArguments(arguments, parsedArguments)
|
||||
@@ -182,6 +183,7 @@ internal object CompilationServiceImpl : CompilationService {
|
||||
sources: List<File>,
|
||||
arguments: List<String>,
|
||||
): CompilationResult {
|
||||
loggerAdapter.kotlinLogger.debug("Compiling using the daemon strategy")
|
||||
val compilerId = CompilerId.makeCompilerId(getCurrentClasspath())
|
||||
val sessionIsAliveFlagFile = buildIdToSessionFlagFile.computeIfAbsent(projectId) {
|
||||
createSessionIsAliveFlagFile()
|
||||
|
||||
Reference in New Issue
Block a user