YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
YCLib 调试设施。 更多...
类 | |
class | platform::Logger |
日志记录器。 更多... | |
命名空间 | |
platform | |
默认平台命名空间。 | |
platform_ex | |
平台扩展命名空间。 | |
宏定义 | |
#define | YCL_Use_TraceSrc 1 |
在跟踪日志中使用跟踪源码位置。 更多... | |
#define | YCL_Log(_lv,...) platform::FetchCommonLogger().Log(_lv, __VA_ARGS__) |
格式输出日志字符串前追加记录源文件行号和文件名。 更多... | |
#define | YCL_Trace(_lv,...) |
YCLib 默认调试跟踪。 更多... | |
#define | YTraceDe(...) |
YCLib 默认调试跟踪。 更多... | |
函数 | |
YF_API Logger & | platform::FetchCommonLogger () |
取公共日志记录器。 更多... | |
YF_API void | platform::YDebugSetStatus (bool=true) |
调试模式:设置状态。 更多... | |
YF_API bool | platform::YDebugGetStatus () |
调试模式:取得状态。 更多... | |
YF_API void | platform::YDebugBegin () |
调试模式:显示控制台。 更多... | |
YF_API void | platform::YDebug () |
调试模式:按键继续。 更多... | |
YF_API void | platform::YDebug (const char *) |
调试模式:显示控制台字符串,按键继续。 更多... | |
YF_API int | platform::yprintf (const char *,...) |
调试模式 printf :显示控制台格式化输出 ,按键继续。 更多... | |
YCLib 调试设施。
在文件 Debug.h 中定义.
#define YCL_Log | ( | _lv, | |
... | |||
) | platform::FetchCommonLogger().Log(_lv, __VA_ARGS__) |
#define YCL_Trace | ( | _lv, | |
... | |||
) |
YCLib 默认调试跟踪。
#define YTraceDe | ( | ... | ) |
YCLib 默认调试跟踪。
参考自 ANativeActivity_onCreate(), YSLib::UI::ParseRect(), platform_ex::Android::TraceConfiguration(), YSLib::UI::BorderResizer::Wrap() , 以及 platform_ex::Windows::WindowClass::~WindowClass().