@JvmStatic fun setLogFile(logFile: String?): Unit
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).
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.