pub fn log_with_type(
    file: &str,
    line_start: u32,
    column_start: u32,
    line_end: u32,
    column_end: u32,
    message: &str,
    ty: LogType
)