From f881374eff5138896c1e5cd4efe50ea1d9496107 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Thu, 9 Aug 2018 07:23:17 -0500 Subject: [PATCH] improve debug log --- fec_manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fec_manager.cpp b/fec_manager.cpp index 7237f97..2ba92db 100644 --- a/fec_manager.cpp +++ b/fec_manager.cpp @@ -323,9 +323,9 @@ int fec_encode_manager_t::input(char *s,int len/*,int &is_first_packet*/) assert(blob_encode.output(actual_data_num,blob_output,fec_len)==0); if(debug_fec) - mylog(log_debug,"x=%d y=%d len=%d\n",actual_data_num,actual_redundant_num,fec_len); + mylog(log_debug,"x=%d y=%d len=%d cnt=%d\n",actual_data_num,actual_redundant_num,fec_len,counter); else - mylog(log_trace,"x=%d y=%d len=%d\n",actual_data_num,actual_redundant_num,fec_len); + mylog(log_trace,"x=%d y=%d len=%d cnt=%d\n",actual_data_num,actual_redundant_num,fec_len,counter); } else {