easylogger/src/elog_port.c
/**
 * get current thread name interface
 *
 * @return current thread name
 */
get current thread name interface
@return current thread name
get current thread name interface @return current thread name
const char *elog_port_get_t_info(void) {
    static char cur_thread_info[10] = { 0 };
    snprintf(cur_thread_info, 10, "tid:%04ld", pthread_self());
    return cur_thread_info;
}
const char * elog_port_get_t_info ( void ) { static char cur_thread_info [ 10 ] = { 0 } ; snprintf ( cur_thread_info , 10 , " " , pthread_self ( ) ) ; return cur_thread_info ; }
get current thread name interface
 @return current thread name
get current thread name interface @return current thread name