@@ -91,12 +91,12 @@ is the module's name in the Python package namespace.
91
91
scenario is to attach handlers only to the root logger, and to let
92
92
propagation take care of the rest.
93
93
94
- .. method :: Logger.setLevel(lvl )
94
+ .. method :: Logger.setLevel(level )
95
95
96
- Sets the threshold for this logger to *lvl *. Logging messages which are less
97
- severe than *lvl * will be ignored; logging messages which have severity *lvl *
96
+ Sets the threshold for this logger to *level *. Logging messages which are less
97
+ severe than *level * will be ignored; logging messages which have severity *level *
98
98
or higher will be emitted by whichever handler or handlers service this logger,
99
- unless a handler's level has been set to a higher severity level than *lvl *.
99
+ unless a handler's level has been set to a higher severity level than *level *.
100
100
101
101
When a logger is created, the level is set to :const: `NOTSET ` (which causes
102
102
all messages to be processed when the logger is the root logger, or delegation
@@ -117,7 +117,7 @@ is the module's name in the Python package namespace.
117
117
See :ref: `levels ` for a list of levels.
118
118
119
119
.. versionchanged :: 3.2
120
- The *lvl * parameter now accepts a string representation of the
120
+ The *level * parameter now accepts a string representation of the
121
121
level such as 'INFO' as an alternative to the integer constants
122
122
such as :const: `INFO `. Note, however, that levels are internally stored
123
123
as integers, and methods such as e.g. :meth: `getEffectiveLevel ` and
@@ -267,14 +267,14 @@ is the module's name in the Python package namespace.
267
267
message. This method should only be called from an exception handler.
268
268
269
269
270
- .. method :: Logger.addFilter(filt )
270
+ .. method :: Logger.addFilter(filter )
271
271
272
- Adds the specified filter *filt * to this logger.
272
+ Adds the specified filter *filter * to this logger.
273
273
274
274
275
- .. method :: Logger.removeFilter(filt )
275
+ .. method :: Logger.removeFilter(filter )
276
276
277
- Removes the specified filter *filt * from this logger.
277
+ Removes the specified filter *filter * from this logger.
278
278
279
279
280
280
.. method :: Logger.filter(record)
@@ -393,33 +393,34 @@ subclasses. However, the :meth:`__init__` method in subclasses needs to call
393
393
Releases the thread lock acquired with :meth: `acquire `.
394
394
395
395
396
- .. method :: Handler.setLevel(lvl )
396
+ .. method :: Handler.setLevel(level )
397
397
398
- Sets the threshold for this handler to *lvl *. Logging messages which are less
399
- severe than *lvl * will be ignored. When a handler is created, the level is set
400
- to :const: `NOTSET ` (which causes all messages to be processed).
398
+ Sets the threshold for this handler to *level *. Logging messages which are
399
+ less severe than *level * will be ignored. When a handler is created, the
400
+ level is set to :const: `NOTSET ` (which causes all messages to be
401
+ processed).
401
402
402
403
See :ref: `levels ` for a list of levels.
403
404
404
405
.. versionchanged :: 3.2
405
- The *lvl * parameter now accepts a string representation of the
406
+ The *level * parameter now accepts a string representation of the
406
407
level such as 'INFO' as an alternative to the integer constants
407
408
such as :const: `INFO `.
408
409
409
410
410
- .. method :: Handler.setFormatter(form )
411
+ .. method :: Handler.setFormatter(fmt )
411
412
412
- Sets the :class: `Formatter ` for this handler to *form *.
413
+ Sets the :class: `Formatter ` for this handler to *fmt *.
413
414
414
415
415
- .. method :: Handler.addFilter(filt )
416
+ .. method :: Handler.addFilter(filter )
416
417
417
- Adds the specified filter *filt * to this handler.
418
+ Adds the specified filter *filter * to this handler.
418
419
419
420
420
- .. method :: Handler.removeFilter(filt )
421
+ .. method :: Handler.removeFilter(filter )
421
422
422
- Removes the specified filter *filt * from this handler.
423
+ Removes the specified filter *filter * from this handler.
423
424
424
425
425
426
.. method :: Handler.filter(record)
0 commit comments