forked from matplotlib/matplotlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change verbose to standard logging library
Change verbose to standard logging library PEP8 fixes and formatting of log messages @anntzer PEP8 fixes and formatting of log messages @anntzer Small fixes as suggested by @aantzer and @tacaswell Documentation Fix on merge Number small fixes Small fix for docs Small fix for error in animate.py fixed import order and small doc fix Small doc fix Changed log. to _log. Fix on merge Number small fixes Small fix for docs Small fix for error in animate.py fixed import order and small doc fix Small doc fix Changed log. to _log. Changed log. to _log. fixed fonts gah gah gah gah gah gah PEP8 doc fix revert _base.py fix missing _log Fixes for @efiring Fixes for @anntzer minor Doc link fixes @anntzer Small doc change Many small changes, thanks @QuLogic and @anntzer Link error docs
- Loading branch information
Showing
24 changed files
with
436 additions
and
250 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Logging for debug output | ||
------------------------ | ||
|
||
Matplotlib has in the past (sporadically) used an internal | ||
verbose-output reporter. This version converts those calls to using the | ||
standard python `logging` library. | ||
|
||
Support for the old ``rcParams`` ``verbose.level`` and ``verbose.fileo`` is | ||
dropped. | ||
|
||
The command-line options ``--verbose-helpful`` and ``--verbose-debug`` are | ||
still accepted, but deprecated. They are now equivalent to setting | ||
``logging.INFO`` and ``logging.DEBUG``. | ||
|
||
The logger's root name is ``matplotlib`` and can be accessed from programs | ||
as:: | ||
|
||
import logging | ||
mlog = logging.getLogger('matplotlib') | ||
|
||
Instructions for basic usage are in :ref:`troubleshooting-faq` and for | ||
developers in :ref:`contributing`. | ||
|
||
.. _logging: https://docs.python.org/3/library/logging.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.