Skip to content

Commit

Permalink
Change according to comments
Browse files Browse the repository at this point in the history
  • Loading branch information
squisty committed May 26, 2020
1 parent 1478483 commit 3710286
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions python/lsst/log/log/logContinued.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,11 @@ def logging2lsstLog(level):
class LogHandler(logging.Handler):
"""Handler for Python logging module that emits to LSST logging.
Parameters
---------
level : `int`
Level at which to set the this handler.
Notes
-----
If this handler is enabled and `lsst.log` has been configured to use
Expand Down
4 changes: 2 additions & 2 deletions python/lsst/log/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ def traceSetAt(name, number):
Parameters
----------
name : `str`
Name of the logger.
Name of the logger.
number : `int`
The trace number threshold for display.
The trace number threshold for display.
"""
for i in range(6):
level = Log.INFO if i > number else Log.DEBUG
Expand Down

0 comments on commit 3710286

Please sign in to comment.