Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
amazon_reports
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
common
amazon_reports
Commits
268b83f9
Commit
268b83f9
authored
Jun 20, 2025
by
邱阿朋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(tool_gui): 清空日志功能
- 在保存日志后添加清空日志的操作- 优化了日志管理流程,提高了日志的可读性和存储效率
parent
0221c74c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
tool_gui.py
tool_gui.py
+3
-0
No files found.
tool_gui.py
View file @
268b83f9
...
@@ -232,6 +232,9 @@ class VCManagerGUI(ttk.Window):
...
@@ -232,6 +232,9 @@ class VCManagerGUI(ttk.Window):
# 保存日志
# 保存日志
self
.
save_log
()
self
.
save_log
()
# 清空日志
self
.
clear_log
()
except
Exception
as
e
:
except
Exception
as
e
:
self
.
log
(
f
"发生错误:{str(e)}"
)
self
.
log
(
f
"发生错误:{str(e)}"
)
self
.
log
(
traceback
.
format_exc
())
self
.
log
(
traceback
.
format_exc
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment