Skip to content

Commit

Permalink
Add "opt(capture=False)" example to the Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Delgan committed May 17, 2020
1 parent bcc3204 commit f375e3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ Sometime you would like to log verbose information without performance penalty i
logger.opt(record=True).info("Display values from the record (eg. {record[thread]})")
logger.opt(raw=True).info("Bypass sink formatting\n")
logger.opt(depth=1).info("Use parent stack context (useful within wrapped functions)")
logger.opt(capture=False).info("Keyword arguments not added to {dest} dict", dest="extra")


Customizable levels
Expand Down

0 comments on commit f375e3e

Please sign in to comment.