pub unsafe extern "cdecl" fn SetupWriteTextLog(
    logtoken: u64,
    category: u32,
    flags: u32,
    messagestr: PCSTR,
    ...
)