enterDebugWriterWithLevel

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

turns on logging to a file on-disk with a specified log level. files will be prefixed with 'libxmtp-v{version}.{commit}.{process_type}.{pid}.log' and suffixed with the timestamp, i.e "libxmtp-v1.6.0.abc123.notif.67890.log.2025-04-02" A maximum of 'max_files' log files are kept.