setLogFile

fun setLogFile(logFile: String?)

Registers a file path where logs will be written to, whenever Ditto wants to issue a log (on top of emitting the log to the console).

Parameters

logFile

can be nil, in which case the current logging file, if any, is unregistered, otherwise, the file path must be within an already existing directory.