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

📄 qdebugloger.cpp

📁 BCB下的高效开发包。包含大并发的网络库
💻 CPP
字号:
//---------------------------------------------------------------------------
#include "QDebugLoger.h"
#include "../QStdlib/QStdlib.h"
#include "../QSystem/QSystem.h"
#include "Windows.h"
#include <string>
//---------------------------------------------------------------------------
void _QDebugLogerSend(const char* Report, int Level, const char* File, int Line)
{
        std::string Data = MakeKey("PID",QLongToStr(::GetCurrentProcessId()));
        Data += MakeKey("THREADID", QLongToStr(::GetCurrentThreadId()));
        Data += MakeKey("LEVEL", QIntToStr(Level));
        Data += MakeKey("REPORT", Report);
        Data += MakeKey("FILE", File);
        Data += MakeKey("LINE", QIntToStr(Line));
        Data += MakeKey("SYSTEMTICK", QInt64ToStr((__int64)GetTickCount()));
        Data += MakeKey("TIME", QDateTime().DateTimeString());
        QWndCopyData::Send(Data, "QDebugLoger_Recv");
}

⌨️ 快捷键说明

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