@@ -95,10 +95,10 @@ is the module's name in the Python package namespace.
95
95
scenario is to attach handlers only to the root logger, and to let
96
96
propagation take care of the rest.
97
97
98
- .. method :: Logger.setLevel(lvl )
98
+ .. method :: Logger.setLevel(level )
99
99
100
- Sets the threshold for this logger to *lvl *. Logging messages which are less
101
- severe than *lvl * will be ignored. When a logger is created, the level is set to
100
+ Sets the threshold for this logger to *level *. Logging messages which are less
101
+ severe than *level * will be ignored. When a logger is created, the level is set to
102
102
:const: `NOTSET ` (which causes all messages to be processed when the logger is
103
103
the root logger, or delegation to the parent when the logger is a non-root
104
104
logger). Note that the root logger is created with level :const: `WARNING `.
@@ -232,14 +232,14 @@ is the module's name in the Python package namespace.
232
232
should only be called from an exception handler.
233
233
234
234
235
- .. method :: Logger.addFilter(filt )
235
+ .. method :: Logger.addFilter(filter )
236
236
237
- Adds the specified filter *filt * to this logger.
237
+ Adds the specified filter *filter * to this logger.
238
238
239
239
240
- .. method :: Logger.removeFilter(filt )
240
+ .. method :: Logger.removeFilter(filter )
241
241
242
- Removes the specified filter *filt * from this logger.
242
+ Removes the specified filter *filter * from this logger.
243
243
244
244
245
245
.. method :: Logger.filter(record)
@@ -349,27 +349,27 @@ subclasses. However, the :meth:`__init__` method in subclasses needs to call
349
349
Releases the thread lock acquired with :meth: `acquire `.
350
350
351
351
352
- .. method :: Handler.setLevel(lvl )
352
+ .. method :: Handler.setLevel(level )
353
353
354
- Sets the threshold for this handler to *lvl *. Logging messages which are less
355
- severe than *lvl * will be ignored. When a handler is created, the level is set
354
+ Sets the threshold for this handler to *level *. Logging messages which are less
355
+ severe than *level * will be ignored. When a handler is created, the level is set
356
356
to :const: `NOTSET ` (which causes all messages to be processed).
357
357
358
358
See :ref: `levels ` for a list of levels.
359
359
360
- .. method :: Handler.setFormatter(form )
360
+ .. method :: Handler.setFormatter(fmt )
361
361
362
- Sets the :class: `Formatter ` for this handler to *form *.
362
+ Sets the :class: `Formatter ` for this handler to *fmt *.
363
363
364
364
365
- .. method :: Handler.addFilter(filt )
365
+ .. method :: Handler.addFilter(filter )
366
366
367
- Adds the specified filter *filt * to this handler.
367
+ Adds the specified filter *filter * to this handler.
368
368
369
369
370
- .. method :: Handler.removeFilter(filt )
370
+ .. method :: Handler.removeFilter(filter )
371
371
372
- Removes the specified filter *filt * from this handler.
372
+ Removes the specified filter *filter * from this handler.
373
373
374
374
375
375
.. method :: Handler.filter(record)
0 commit comments