Skip to content

[2.7] bpo-33943: Add references in the docs for logging.basicConfig (GH-7858) #7902

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 25, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions Doc/library/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -949,26 +949,26 @@ functions.
+--------------+---------------------------------------------+
| Format | Description |
+==============+=============================================+
| ``filename`` | Specifies that a FileHandler be created, |
| *filename* | Specifies that a FileHandler be created, |
| | using the specified filename, rather than a |
| | StreamHandler. |
+--------------+---------------------------------------------+
| ``filemode`` | Specifies the mode to open the file, if |
| | filename is specified (if filemode is |
| | unspecified, it defaults to 'a'). |
| *filemode* | If *filename* is specified, open the file |
| | in this mode. Defaults to ``'a'``. |
+--------------+---------------------------------------------+
| ``format`` | Use the specified format string for the |
| *format* | Use the specified format string for the |
| | handler. |
+--------------+---------------------------------------------+
| ``datefmt`` | Use the specified date/time format. |
| *datefmt* | Use the specified date/time format, as |
| | accepted by :func:`time.strftime`. |
+--------------+---------------------------------------------+
| ``level`` | Set the root logger level to the specified |
| | level. |
| *level* | Set the root logger level to the specified |
| | :ref:`level <levels>`. |
+--------------+---------------------------------------------+
| ``stream`` | Use the specified stream to initialize the |
| *stream* | Use the specified stream to initialize the |
| | StreamHandler. Note that this argument is |
| | incompatible with 'filename' - if both are |
| | present, 'stream' is ignored. |
| | incompatible with *filename* - if both are |
| | present, *stream* is ignored. |
+--------------+---------------------------------------------+


Expand Down