pub unsafe extern "C" fn switch_log_node_to_json(
node: *const switch_log_node_t,
log_level: c_int,
json_format: *mut switch_log_json_format_t,
chan_vars: *mut switch_event_t,
) -> *mut cJSONExpand description
\brief Convert a log node to JSON object. Destroy JSON object when finished. \param node the node \param log_level the log level \param json_format the output format definition \param char_vars optional channel variables to add to logs