All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.teamscale.jacoco.agent.util.DebugLogDirectoryPropertyDefiner Maven / Gradle / Ivy

Go to download

JVM profiler that simplifies various aspects around recording and uploading test coverage

There is a newer version: 34.0.2
Show newest version
package com.teamscale.jacoco.agent.util;

import java.nio.file.Path;

/** Defines a property that contains the path to which log files should be written. */
public class DebugLogDirectoryPropertyDefiner extends LogDirectoryPropertyDefiner {

	/** File path for debug logging. */
	/* package */ static Path filePath = null;

	@Override
	public String getPropertyValue() {
		if (filePath == null) {
			return super.getPropertyValue();
		}
		return filePath.resolve("logs").toAbsolutePath().toString();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy