Releases: adafruit/Adafruit_CircuitPython_Logging
4.0.2 - Added cp.org link to index.rst
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-logging.
Read the docs for info on how to use it.
4.0.1 - Hotfix for version 4.0.0
Changed library to only log if a Handler has been attached to a relevant Logger. Also includes minor documentation fix.
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-logging.
Read the docs for info on how to use it.
4.0.0 - Modified to be a CPython logging subset
This library now functions as a subset of the CPython logging module.
This is a breaking changes, and includes the following changes:
- Make functions not available in CPython private
- Now only
Loggeris the only logger, other loggers have been converted intoHandleror subclasses of it. - The previous
PrintLoggerhas been changed toStreamHandler, with the defaultstreamargument tosys.stderr, and should be treated as a handler as opposed to a logger. Loggercan now take a name that gets added to the corresponding global variable- Methods have had argument names changed to match CPython names
- Logger now has no handler as a default
hasHandlers()has been added to help offset the previous changeFileHandlerwas moved, and is imported from the main file (e.g.from adafruit_logging import FileHandler)FileHandleris now a subclass ofStreamHandler
Additionally:
- The module has been flattened to a single file
setup.pyhas been modified accordingly- Examples updated to account for changes, particularly the change of some previous loggers to handlers
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-logging.
Read the docs for info on how to use it.
Updated to release on PyPI
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-logging.
Read the docs for info on how to use it.
3.7.5 - Updated documentation link, python version
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
Read the docs for info on how to use it.
3.7.4 - Formatting Fix
This release improves the formatting of the logging output by ensuring all timestamps contain equal number of characters to equalize the number of characters in each line before the message. Thank you @JingleheimerSE.
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
Read the docs for info on how to use it.
3.7.3 Documentation Update
Thank you @garrettheath4
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
Read the docs for info on how to use it.
3.7.2 - Added version and repo information
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
Read the docs for info on how to use it.
3.7.1 - Updated pylint version, linted
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
Read the docs for info on how to use it.
3.7.0 - Added FileHandler class
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-logging.
Read the docs for info on how to use it.