Searched refs:log_fd (Results 1 – 2 of 2) sorted by relevance
/net-tools-latest/tinydtls-0.8.2/ |
D | debug.c | 211 FILE *log_fd; in dsrv_log() local 216 log_fd = level <= DTLS_LOG_CRIT ? stderr : stdout; in dsrv_log() 219 fprintf(log_fd, "%s ", timebuf); in dsrv_log() 222 fprintf(log_fd, "%s ", loglevels[level]); in dsrv_log() 225 vfprintf(log_fd, format, ap); in dsrv_log() 227 fflush(log_fd); in dsrv_log() 292 FILE *log_fd; in dtls_dsrv_hexdump_log() local 298 log_fd = level <= DTLS_LOG_CRIT ? stderr : stdout; in dtls_dsrv_hexdump_log() 301 fprintf(log_fd, "%s ", timebuf); in dtls_dsrv_hexdump_log() 304 fprintf(log_fd, "%s ", loglevels[level]); in dtls_dsrv_hexdump_log() [all …]
|
/net-tools-latest/libcoap/src/ |
D | debug.c | 487 FILE *log_fd; in coap_log_impl() local 492 log_fd = level <= LOG_CRIT ? COAP_ERR_FD : COAP_DEBUG_FD; in coap_log_impl() 496 fprintf(log_fd, "%s ", timebuf); in coap_log_impl() 499 fprintf(log_fd, "%s ", loglevels[level]); in coap_log_impl() 502 vfprintf(log_fd, format, ap); in coap_log_impl() 504 fflush(log_fd); in coap_log_impl()
|