Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-17741: Factor out code to convert between logging levels #38

Merged
merged 2 commits into from Feb 7, 2019

Conversation

andy-slac
Copy link
Contributor

Two methods for two-way translation are moved into a special new
"namespace" class to keep interfaces clean.

Two methods for two-way translation are moved into a special new
"namespace" class to keep interfaces clean.
"""
@staticmethod
def lsstLog2logging(level):
"""Translates from lsst.log/log4cxx levels to logging module levels.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you use numpydoc here please and use backtick markup around logging so it goes to the logging docs. We should start trying to switch this module to sphinx.

@andy-slac andy-slac merged commit 79eef58 into master Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants