Go to the source code of this file.
Typedefs | |
typedef void(* | message_handler_func_t )(int level, const char *text) |
typedef void(* | error_handler_func_t )(const char *text) |
typedef logging_state_s | logging_state_t |
Enumerations | |
enum | { SPAN_LOG_SEVERITY_MASK = 0x00FF, SPAN_LOG_SHOW_DATE = 0x0100, SPAN_LOG_SHOW_SAMPLE_TIME = 0x0200, SPAN_LOG_SHOW_SEVERITY = 0x0400, SPAN_LOG_SHOW_PROTOCOL = 0x0800, SPAN_LOG_SHOW_VARIANT = 0x1000, SPAN_LOG_SHOW_TAG = 0x2000, SPAN_LOG_SUPPRESS_LABELLING = 0x8000 } |
enum | { SPAN_LOG_NONE = 0, SPAN_LOG_ERROR = 1, SPAN_LOG_WARNING = 2, SPAN_LOG_PROTOCOL_ERROR = 3, SPAN_LOG_PROTOCOL_WARNING = 4, SPAN_LOG_FLOW = 5, SPAN_LOG_FLOW_2 = 6, SPAN_LOG_FLOW_3 = 7, SPAN_LOG_DEBUG = 8, SPAN_LOG_DEBUG_2 = 9, SPAN_LOG_DEBUG_3 = 10 } |
Functions | |
SPAN_DECLARE (int) span_log_test(logging_state_t *s | |
Release a V.8 context. | |
SPAN_DECLARE (void) span_log_set_message_handler(logging_state_t *s | |
Cleanup a T.30 context if the call terminates. | |
SPAN_DECLARE (logging_state_t *) span_log_init(logging_state_t *s | |
Get a pointer to the logging context associated with a T.38 context. | |
Variables | |
int | level |
int const char * | format |
int const char * | tag |
int const char const uint8_t * | buf |
int const char const uint8_t int | len |
const char * | protocol |
int | samples_per_second |
int | samples |
message_handler_func_t | func |
|
Error logging function for spandsp logging. |
|
Logging descriptor. This defines the working state for a single instance of the logging facility for spandsp. |
|
General logging function for spandsp logging. |
|
Get a pointer to the logging context associated with a T.38 context. Get a pointer to the logging context associated with a FAX context.
|
|
Cleanup a T.30 context if the call terminates. Change the put_bit function associated with an HDLC receiver context.
|
|
Release a V.8 context. Test if logging of a specified severity level is enabled.
|