pub fn init_logging(writer: VecWriter, level: LevelFilter)