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

Support interfacing spdlog with Python's logging stdlib #88

Merged
merged 7 commits into from
Oct 18, 2024

Conversation

robomics
Copy link
Contributor

@robomics robomics commented Oct 16, 2024

To see log messages issued by hictkpy (and hictk!), users should do something like:

import hictkpy
import logging

logging.basicConfig(level="INFO", force=True)
logging.getLogger().setLevel("INFO")

# Do stuff with hictk
# ....

hictkpy's logger is simply called hictkpy, and can be fetch with e.g. logging.getLogger("hictkpy").

@robomics robomics added the enhancement New feature or request label Oct 16, 2024
@robomics robomics force-pushed the main branch 14 times, most recently from 52934ab to 3cc23a4 Compare October 17, 2024 23:14
@robomics robomics merged commit 778a0d4 into main Oct 18, 2024
57 checks passed
@robomics robomics deleted the feat/py-logging branch October 18, 2024 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant