33 #if !defined(_SPANDSP_LOGGING_H_)
34 #define _SPANDSP_LOGGING_H_
45 SPAN_LOG_SEVERITY_MASK = 0x00FF,
46 SPAN_LOG_SHOW_DATE = 0x0100,
47 SPAN_LOG_SHOW_SAMPLE_TIME = 0x0200,
48 SPAN_LOG_SHOW_SEVERITY = 0x0400,
49 SPAN_LOG_SHOW_PROTOCOL = 0x0800,
50 SPAN_LOG_SHOW_VARIANT = 0x1000,
51 SPAN_LOG_SHOW_TAG = 0x2000,
52 SPAN_LOG_SUPPRESS_LABELLING = 0x8000
61 SPAN_LOG_PROTOCOL_ERROR = 3,
62 SPAN_LOG_PROTOCOL_WARNING = 4,
77 #if defined(__cplusplus)
112 SPAN_DECLARE(
int) span_log_set_tag(
logging_state_t *s, const
char *tag);
114 SPAN_DECLARE(
int) span_log_set_protocol(
logging_state_t *s, const
char *protocol);
116 SPAN_DECLARE(
int) span_log_set_sample_rate(
logging_state_t *s,
int samples_per_second);
118 SPAN_DECLARE(
int) span_log_bump_samples(
logging_state_t *s,
int samples);
134 #if defined(__cplusplus)