Skip to content

Commit f375e3e

Browse files
committed
Add "opt(capture=False)" example to the Readme
1 parent bcc3204 commit f375e3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ Sometime you would like to log verbose information without performance penalty i
331331
logger.opt(record=True).info("Display values from the record (eg. {record[thread]})")
332332
logger.opt(raw=True).info("Bypass sink formatting\n")
333333
logger.opt(depth=1).info("Use parent stack context (useful within wrapped functions)")
334+
logger.opt(capture=False).info("Keyword arguments not added to {dest} dict", dest="extra")
334335

335336

336337
Customizable levels

0 commit comments

Comments
 (0)