Skip to content

Commit df7a225

Browse files
Italic pro/con to bold, and '--' to colon after the pro/con
1 parent 0c1551a commit df7a225

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/writing/logging.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,19 +83,19 @@ application environment.
8383
There are at least three ways to configure a logger:
8484

8585
- Using an INI-formatted file:
86-
- *Pro* -- possible to update configuration while running
86+
- **Pro**: possible to update configuration while running
8787
using the function :func:`logging.config.listen` to listen
8888
on a socket.
89-
- *Con* -- less control (*e.g.* custom subclassed filters or loggers)
89+
- **Con**: less control (*e.g.* custom subclassed filters or loggers)
9090
than possible when configuring a logger in code.
9191
- Using a dictionary or a JSON-formatted file:
92-
- *Pro* -- in addition to updating while running, it is possible to
92+
- **Pro**: in addition to updating while running, it is possible to
9393
load from a file using the :mod:`json` module, in the standard
9494
library since Python 2.6.
95-
- *Con* -- less control than when configuring a logger in code.
95+
- **Con**: less control than when configuring a logger in code.
9696
- Using code:
97-
- *Pro* -- complete control over the configuration.
98-
- *Con* -- modifications require a change to source code.
97+
- **Pro**: complete control over the configuration.
98+
- **Con**: modifications require a change to source code.
9999

100100

101101
Example Configuration via an INI File

0 commit comments

Comments
 (0)