pub fn log_variant(
    log_domain: Option<&str>,
    log_level: LogLevel,
    fields: &Variant
)