mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-24 20:39:05 +08:00
Opt: Minor log format adjustment
This commit is contained in:
@@ -203,7 +203,7 @@ def set_file_logger(name=pyw_name):
|
|||||||
file_console = Console(
|
file_console = Console(
|
||||||
file=file,
|
file=file,
|
||||||
no_color=True,
|
no_color=True,
|
||||||
width=120,
|
width=119,
|
||||||
)
|
)
|
||||||
|
|
||||||
hdlr = RichFileHandler(
|
hdlr = RichFileHandler(
|
||||||
@@ -242,7 +242,7 @@ def set_func_logger(func):
|
|||||||
show_level=True,
|
show_level=True,
|
||||||
rich_tracebacks=True,
|
rich_tracebacks=True,
|
||||||
tracebacks_show_locals=True,
|
tracebacks_show_locals=True,
|
||||||
tracebacks_extra_lines=3,
|
tracebacks_extra_lines=2,
|
||||||
highlighter=Highlighter(),
|
highlighter=Highlighter(),
|
||||||
)
|
)
|
||||||
hdlr.setFormatter(web_formatter)
|
hdlr.setFormatter(web_formatter)
|
||||||
|
|||||||
Reference in New Issue
Block a user