Skip to content

Commit

Permalink
reduce line of log to 200 (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
Juice-XIJ authored Jan 1, 2023
1 parent 06220cb commit e84e9a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ def __init__(self, text: ScrolledText):
self.text.tag_config(logging.getLevelName(logging.WARNING), foreground='#fca862')
self.text.tag_config(logging.getLevelName(logging.ERROR), foreground='#ff3333')
self.text.tag_config(logging.getLevelName(logging.CRITICAL), foreground='#b30000')
self.line_limitation = 6000.0
self.line_check = 6500.0
self.line_limitation = 200.0
self.line_check = 250.0

def num_lines(self):
return int(self.text.index('end').split('.')[0]) - 1
Expand Down

0 comments on commit e84e9a0

Please sign in to comment.