⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 debugerror.h

📁 RFID温度签的源码
💻 H
字号:
#ifndef __DEBUG_ERROR_H__
#define __DEBUG_ERROR_H__

//#define __DEBUG__

#ifdef __DEBUG__

#define DEBUG_LOG_FILE "C:\\DebugLog.log"
// function

void OutputLogToFile( const char* str );
void OutputLogToFile1( const char* str, int val );
void OutputTimeToFile();

// macro

#define OutputDebugLog( STR )			OutputLogToFile( (STR) )
#define OutputDebugLog1( STR, VAL )		OutputLogToFile1( (STR), (VAL) )
#define OutputTimeToLog()				OutputTimeToFile()

#else // __DEBUG__

#define OutputDebugLog( STR )
#define OutputDebugLog1( STR, VAL )
#define OutputTimeToLog()

#endif // __DEBUG__

#endif // __DEBUG_ERROR_H__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -