pub fn init(file: Option<&Path>) -> Result<(), String>
Installs the logger (once per process; later calls only fail if the file can’t be opened).