enterDebugWriterWithLevel

fun enterDebugWriterWithLevel(directory: String, rotation: FfiLogRotation, maxFiles: UInt, logLevel: FfiLogLevel)

turns on logging to a file on-disk with a specified log level. files will be prefixed with 'libxmtp.log' and suffixed with the timestamp, i.e "libxmtp.log.2025-04-02" A maximum of 'max_files' log files are kept.