Skip to content

Commit 10f16bf

Browse files
committed
Missed sync py <-> pyx
1 parent 091bf81 commit 10f16bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

logwrap/log_wrap.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ cdef class LogWrap(class_decorator.BaseDecorator):
361361
"""
362362
self._logger.log(
363363
level=self.log_level,
364-
msg=f"{method}: \n{name!r}({arguments if self.log_call_args else ''})",
364+
msg=f"{method}: \n{name}({arguments if self.log_call_args else ''})",
365365
)
366366

367367
void _make_exc_record(self, str name, str arguments) except *:
@@ -381,7 +381,7 @@ cdef class LogWrap(class_decorator.BaseDecorator):
381381
level=self.exc_level,
382382
msg=(
383383
f"Failed: \n"
384-
f"{name!r}({arguments if self.log_call_args_on_exc else ''})\n"
384+
f"{name}({arguments if self.log_call_args_on_exc else ''})\n"
385385
f"{tb_text if self.log_traceback else ''}"
386386
),
387387
exc_info=False,

0 commit comments

Comments
 (0)