Fix formatting
This commit is contained in:
parent
ff65c1316e
commit
457c7c060d
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ def get_logger(
|
|||
"""
|
||||
logger = logging.getLogger(name)
|
||||
handler = RichHandler(
|
||||
rich_tracebacks=True, tracebacks_show_locals=show_locals, log_time_format="[{format}]"
|
||||
rich_tracebacks=True, tracebacks_show_locals=show_locals, log_time_format=f"[{format}]"
|
||||
)
|
||||
logger.addHandler(handler)
|
||||
return logger
|
||||
|
|
Loading…
Add table
Reference in a new issue