📄 rildebug.h
字号:
//////////////////////////////////////////////////////////////////////////
// Copyright (c) 1999-2000 Microsoft Corporation. All rights reserved. //
//////////////////////////////////////////////////////////////////////////
#ifndef _RIL_DEBUG_H_
#define _RIL_DEBUG_H_
// Debug Zone defines
#define ZONEID_ERROR 0
#define ZONEID_INFO 1
#define ZONEID_TRACE 2
#define ZONEID_FUNCTION 3
#define ZONEID_READ 4
#define ZONEID_NDIS 5
#define ZONEID_NDISPKTS 6
#define ZONEMASK_ERROR (1<<ZONEID_ERROR)
#define ZONEMASK_INFO (1<<ZONEID_INFO)
#define ZONEMASK_TRACE (1<<ZONEID_TRACE)
#define ZONEMASK_FUNCTION (1<<ZONEID_FUNCTION)
#define ZONEMASK_READ (1<<ZONEID_READ)
#define ZONEMASK_NDIS (1<<ZONEID_NDIS)
#define ZONEMASK_NDISPKTS (1<<ZONEID_NDISPKTS)
#ifdef DEBUG
// These macros are used as the first arg to DEBUGMSG.
#define ZONE_ERROR DEBUGZONE(ZONEID_ERROR)
#define ZONE_INFO DEBUGZONE(ZONEID_INFO)
#define ZONE_TRACE DEBUGZONE(ZONEID_TRACE)
#define ZONE_FUNCTION DEBUGZONE(ZONEID_FUNCTION)
#define ZONE_READ DEBUGZONE(ZONEID_READ)
#define ZONE_NDIS DEBUGZONE(ZONEID_NDIS)
#define ZONE_NDISPKTS DEBUGZONE(ZONEID_NDISPKTS)
#else
// For release configurations, these conditionals are always 0.
#define ZONE_ERROR 0
#define ZONE_INFO 0
#define ZONE_TRACE 0
#define ZONE_FUNCTION 0
#define ZONE_READ 0
#define ZONE_NDIS 0
#define ZONE_NDISPKTS 0
#endif
#endif // _RIL_DEBUG_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -