#[repr(C)]pub struct switch_log_node_t {Show 13 fields
pub data: *mut c_char,
pub file: [c_char; 80],
pub line: u32,
pub func: [c_char; 80],
pub level: switch_log_level_t,
pub timestamp: switch_time_t,
pub content: *mut c_char,
pub userdata: *mut c_char,
pub channel: switch_text_channel_t,
pub slevel: switch_log_level_t,
pub tags: *mut switch_event_t,
pub sequence: i64,
pub meta: *mut cJSON,
}Expand description
\defgroup log Logger Routines \ingroup core1 { *! \brief Log Data */
Fields§
§data: *mut c_charThe complete log message
file: [c_char; 80]The file where the message originated
line: u32The line number where the message originated
func: [c_char; 80]The function where the message originated
level: switch_log_level_tThe log level of the message
timestamp: switch_time_tThe time when the log line was sent
content: *mut c_charA pointer to where the actual content of the message starts (skipping past the preformatted portion)
userdata: *mut c_char§channel: switch_text_channel_t§slevel: switch_log_level_t§sequence: i64§meta: *mut cJSONTrait Implementations§
Source§impl Clone for switch_log_node_t
impl Clone for switch_log_node_t
Source§fn clone(&self) -> switch_log_node_t
fn clone(&self) -> switch_log_node_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for switch_log_node_t
impl Debug for switch_log_node_t
impl Copy for switch_log_node_t
Auto Trait Implementations§
impl Freeze for switch_log_node_t
impl RefUnwindSafe for switch_log_node_t
impl !Send for switch_log_node_t
impl !Sync for switch_log_node_t
impl Unpin for switch_log_node_t
impl UnwindSafe for switch_log_node_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more