File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -83,19 +83,19 @@ application environment.
8383There 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
101101Example Configuration via an INI File
You can’t perform that action at this time.
0 commit comments