loguru icon indicating copy to clipboard operation
loguru copied to clipboard

how debug limt depth.

Open me-v2 opened this issue 2 years ago • 3 comments

this print more 10 pages. 没有太多的价值 image

me-v2 avatar Nov 21 '23 12:11 me-v2

You can modify sys.tracebacklimit to limit the number of frames displayed.

You can also add() your sink with backtrace=False.

Delgan avatar Nov 21 '23 20:11 Delgan

sys.tracebacklimit is work. but add(backtrace=False) not work. wired.

me-v2 avatar Nov 24 '23 08:11 me-v2

The backtrace=True is supposed to reduce the stack trace verbosity, but it won't suppress it totally.

Delgan avatar Nov 25 '23 08:11 Delgan