logging.c File Reference

#include <limits.h>
#include <stdio.h>
#include <stdarg.h>
#include <fcntl.h>
#include <stdlib.h>
#include <inttypes.h>
#include <string.h>
#include <errno.h>
#include <signal.h>
#include <sys/time.h>
#include "spandsp/telephony.h"
#include "spandsp/logging.h"
#include "spandsp/private/logging.h"

Functions

int span_log_test (logging_state_t *s, int level)
int span_log (logging_state_t *s, int level, const char *format,...)
int span_log_buf (logging_state_t *s, int level, const char *tag, const uint8_t *buf, int len)
int span_log_set_level (logging_state_t *s, int level)
int span_log_set_tag (logging_state_t *s, const char *tag)
int span_log_set_protocol (logging_state_t *s, const char *protocol)
int span_log_set_sample_rate (logging_state_t *s, int samples_per_second)
int span_log_bump_samples (logging_state_t *s, int samples)
void span_log_set_message_handler (logging_state_t *s, message_handler_func_t func)
void span_log_set_error_handler (logging_state_t *s, error_handler_func_t func)
void span_set_message_handler (message_handler_func_t func)
void span_set_error_handler (error_handler_func_t func)
logging_state_t * span_log_init (logging_state_t *s, int level, const char *tag)
int span_log_release (logging_state_t *s)
int span_log_free (logging_state_t *s)

Detailed Description


Generated by  doxygen 1.6.2