CSVExporter
constructor(fileNameRoot: String = "", interval: Double = DEFAULT_INTERVAL, exportPath: String = createTempDirectory("alchemist-export")
.absolutePathString()
.also {
logger.warn(
"No output folder specified but export required. Alchemist will export data in $it",
)
}, fileExtension: String = "csv", appendTime: Boolean = false)(source)
Parameters
fileNameRoot
the starting name of the file to export data to.
interval
the sampling time, defaults to AbstractExporter.DEFAULT_INTERVAL.
exportPath
if no path is specified it will generate the file inside a temporary folder.
appendTime
if true it will always generate a new file, false to overwrite.
fileExtension
the extension for the exported files, by default 'csv'