pub fn write_app_log(msg: String)
Public log-append entry point callable from any module. Writes a timestamped line to <data-dir>/app.log, rotating to .log.1 at 5MB. The append_log Tauri command delegates to this.
<data-dir>/app.log
.log.1
append_log