wumu
2025-06-30 b6c8b62571142cdc85060671c80d1a2a6e8b77bc
Merge branch 'master' of ssh://115.28.86.8:29418/~admin/智能网联_25-0305_617_v1
1 文件已重命名
3个文件已添加
1个文件已修改
1个文件已删除
23 ■■■■■ 已修改文件
Client/魏强/code/LogExportModule_PageSizeFinal.zip 补丁 | 查看 | 原始文档 | blame | 历史
Client/魏强/code/log_table.sql 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Client/魏强/document/log_table_structure.docx 补丁 | 查看 | 原始文档 | blame | 历史
Client/魏强/document/日志需求分析文档.docx 补丁 | 查看 | 原始文档 | blame | 历史
Client/魏强/log/~$_魏强_0626.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/魏强/log/日志_魏强_0630.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/κǿ/code/LogExportModule_PageSizeFinal.zip
Binary files differ
Client/κǿ/code/log_table.sql
New file
@@ -0,0 +1,23 @@
-- åˆ›å»ºæ—¥å¿—表
CREATE TABLE IF NOT EXISTS log_entries (
    id INTEGER PRIMARY KEY AUTOINCREMENT,      -- ä¸»é”®ï¼Œè‡ªå¢ž ID
    timestamp DATETIME NOT NULL,               -- æ—¥å¿—时间戳
    level VARCHAR(10) NOT NULL,                -- æ—¥å¿—级别(INFO/WARN/ERROR)
    module VARCHAR(50),                        -- æ‰€å±žæ¨¡å—(如IPC、UI)
    source_file VARCHAR(100),                  -- æ¥æºæ–‡ä»¶å
    line_number INTEGER,                       -- è¡Œå·
    message TEXT NOT NULL,                     -- æ—¥å¿—消息
    extra TEXT                                 -- å¯é€‰æ‰©å±•信息(如JSON字符串)
);
-- æ’入示例数据
INSERT INTO log_entries (timestamp, level, module, source_file, line_number, message, extra)
VALUES (
    '2025-06-29 16:00:00',
    'ERROR',
    'CAN',
    'can_driver.cpp',
    125,
    'CAN è®¾å¤‡åˆå§‹åŒ–失败',
    '{"thread_id": "0x12345", "user_id": "admin"}'
);
Client/κǿ/document/log_table_structure.docx
Binary files differ
Client/κǿ/document/ÈÕÖ¾ÐèÇó·ÖÎöÎĵµ.docx
Binary files differ
Client/κǿ/log/~$_κǿ_0626.doc
Binary files differ
Client/κǿ/log/ÈÕÖ¾_κǿ_0630.doc
Binary files differ