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

com.teamscale.jacoco.agent.util.LogDirectoryPropertyDefiner 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 ch.qos.logback.core.PropertyDefinerBase;

import java.nio.file.Path;

/** Defines a property that contains the default path to which log files should be written. */
public class LogDirectoryPropertyDefiner extends PropertyDefinerBase {
	@Override
	public String getPropertyValue() {
		Path tempDirectory = AgentUtils.getMainTempDirectory();
		return tempDirectory.resolve("logs").toAbsolutePath().toString();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy