Renamed debug_type to debug level.
FossilOrigin-Name: 4c95d7aeeee52585c6d1e4e940339f0b8bc1efcde3649ad0cc7f076bde049724
This commit is contained in:
parent
605c8bfd3f
commit
ea6128bb60
@ -111,12 +111,12 @@ int cw_log_debug_level=0;
|
|||||||
|
|
||||||
|
|
||||||
int cw_dbg_opt_detail=0;
|
int cw_dbg_opt_detail=0;
|
||||||
int cw_dbg_opt_type=0;
|
int cw_dbg_opt_level=0;
|
||||||
|
|
||||||
|
|
||||||
void cw_log_dbg_(int type, const char * file, int line, const char * format, ...)
|
void cw_log_dbg_(int level, const char * file, int line, const char * format, ...)
|
||||||
{
|
{
|
||||||
if (!(type & cw_dbg_opt_type))
|
if (!(level & cw_dbg_opt_level))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
char buf[2048];
|
char buf[2048];
|
||||||
@ -134,10 +134,10 @@ void cw_log_dbg_(int type, const char * file, int line, const char * format, ...
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
void cw_log_dbg_dmp_(int type,const char * file, int line, const uint8_t * data, int len,const char * format, ...)
|
void cw_log_dbg_dmp_(int level,const char * file, int line, const uint8_t * data, int len,const char * format, ...)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (!(type & cw_dbg_opt_type))
|
if (!(level & cw_dbg_opt_level))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user