-
|
|
Beta Was this translation helpful? Give feedback.
Answered by
apcamargo
Feb 28, 2022
Replies: 1 comment
-
|
Managed to achieve that by modifying the def create_console(verbose=True, style=None, width=100):
if verbose:
console = Console(style=style, width=width)
else:
f = open(os.devnull, "w")
console = Console(file=f, style=style, width=width)
console._log_render = LogRender(
omit_repeated_times=False,
show_time=True,
show_path=False,
time_format="[%X]",
)
return console |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
apcamargo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Managed to achieve that by modifying the
_log_renderattribute manually: