Function create_file

Source
pub fn create_file(file: &Path)
Expand description

create file if does not exists
if create fail, will be call log::error
see log::error, try_create_file
if y want to create or open file, see open_create_file