picologging
picologging copied to clipboard
An optimized logging library for Python
CPython logging.config has fileConfig: https://docs.python.org/3/library/logging.config.html#logging.config.fileConfig picologging does not. Limitation or bug?
The logging module has an interesting interaction with the warnings module via `logger.captureWarnings`: https://docs.python.org/3/library/logging.html#integration-with-the-warnings-module You can see its implementation here: https://github.com/python/cpython/blob/main/Lib/logging/__init__.py#L2338 picologging does not support it. Limitation or bug?
``` /// TODO: Implement percentage style validation. ``` https://github.com/microsoft/picologging/blob/f3eedeb49c627248b3861a7f0d21c2b2dc764cda/src/picologging/formatstyle.cxx#L119
``` // TODO: handle error path (see handleError(record)) ``` https://github.com/microsoft/picologging/blob/f3eedeb49c627248b3861a7f0d21c2b2dc764cda/src/picologging/streamhandler.cxx#L65
Hello! I have successfully put this package on to Conda Forge, and I am extending the invitation for the owner/maintainers of this package to be maintainers on Conda Forge as...
``` # TODO : test defaults are propagating to string formatters ``` https://github.com/microsoft/picologging/blob/fdbd2caa37a276fbe47a0035042ecfc09e6804c4/tests/unit/test_formatter.py#L164
``` TODO: Consider %d, %f format strings.. ``` https://github.com/microsoft/picologging/blob/f3eedeb49c627248b3861a7f0d21c2b2dc764cda/src/picologging/formatstyle.cxx#L136
``` // TODO : See if there is a performant way to get the thread name. ``` https://github.com/microsoft/picologging/blob/943f82fb2f52b20b8e351cbbe0afdf94bdae5f30/src/picologging/logrecord.cxx#L192