FreeSWITCH API Documentation  1.7.0
Data Fields
switch_log_node_t Struct Reference

Log Data. More...

#include <switch_log.h>

+ Collaboration diagram for switch_log_node_t:

Data Fields

char * data
 
char file [80]
 
uint32_t line
 
char func [80]
 
switch_log_level_t level
 
switch_time_t timestamp
 
char * content
 
char * userdata
 
switch_text_channel_t channel
 
switch_log_level_t slevel
 

Detailed Description

Log Data.

Definition at line 49 of file switch_log.h.

Field Documentation

switch_text_channel_t switch_log_node_t::channel

Definition at line 66 of file switch_log.h.

Referenced by switch_log_vprintf().

char* switch_log_node_t::content

A pointer to where the actual content of the message starts (skipping past the preformatted portion)

Definition at line 63 of file switch_log.h.

Referenced by switch_log_vprintf().

char* switch_log_node_t::data

The complete log message

Definition at line 51 of file switch_log.h.

Referenced by switch_log_node_dup(), switch_log_node_free(), and switch_log_vprintf().

char switch_log_node_t::file[80]

The file where the message originated

Definition at line 53 of file switch_log.h.

Referenced by switch_log_vprintf().

char switch_log_node_t::func[80]

The function where the message originated

Definition at line 57 of file switch_log.h.

Referenced by switch_log_vprintf().

switch_log_level_t switch_log_node_t::level

The log level of the message

Definition at line 59 of file switch_log.h.

Referenced by log_thread(), and switch_log_vprintf().

uint32_t switch_log_node_t::line

The line number where the message originated

Definition at line 55 of file switch_log.h.

Referenced by switch_log_vprintf().

switch_log_level_t switch_log_node_t::slevel

Definition at line 67 of file switch_log.h.

Referenced by switch_log_vprintf().

switch_time_t switch_log_node_t::timestamp

The time when the log line was sent

Definition at line 61 of file switch_log.h.

Referenced by switch_log_vprintf().

char* switch_log_node_t::userdata

Definition at line 64 of file switch_log.h.

Referenced by switch_log_node_dup(), switch_log_node_free(), and switch_log_vprintf().


The documentation for this struct was generated from the following file: