mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
tweak the session level logging to work on the console too
This commit is contained in:
@@ -64,6 +64,7 @@ SWITCH_BEGIN_EXTERN_C
|
||||
char *userdata;
|
||||
/* To maintain abi, only add new elements to the end of this struct and do not delete any elements */
|
||||
switch_text_channel_t channel;
|
||||
switch_log_level_t slevel;
|
||||
} switch_log_node_t;
|
||||
|
||||
typedef switch_status_t (*switch_log_function_t) (const switch_log_node_t *node, switch_log_level_t level);
|
||||
|
@@ -1030,7 +1030,8 @@ typedef enum {
|
||||
SWITCH_LOG_CRIT = 2,
|
||||
SWITCH_LOG_ALERT = 1,
|
||||
SWITCH_LOG_CONSOLE = 0,
|
||||
SWITCH_LOG_INVALID = 64
|
||||
SWITCH_LOG_INVALID = 64,
|
||||
SWITCH_LOG_UNINIT = 1000,
|
||||
} switch_log_level_t;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user