logger - Support tools for logger configuration¶
Modify the global the warnings formatter to get rid of the source code display. |
|
- bumps.logger.monkeypatch_warnings_formatter(strip_newline=False)[source]¶
Modify the global the warnings formatter to get rid of the source code display. If strip_newline then remove the trailing linefeed character as well.
Use warnings.formatwarning.restore() to recover original warnings formatting.