Releases: adafruit/Adafruit_CircuitPython_Logging
4.2.0 - Allow Use of Root Logger
This release allows using the root logger by passing no arguments to get_logger()
. Thank you @tekktrik.
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.1.6 - Made copyright stay up to date in docs/conf.py
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.1.5 - Fixed version string
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.1.4 - Switched to pyproject.toml
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.1.3 - Updated documentation for log levels
Updated and corrected the documentation pertaining to log levels and the behavior of loggers with default levels (NOTSET
). Thanks @FoamyGuy!
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.1.2 - Matching CPython Behavior Closer
This release automatically sets up the StreamHandler by default which matches CPython behavior. A bug resulting in lack of newlines in log prints has been resolved. Thank you @tekktrik
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.1.1 - Updated type annotations and documentation
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.1.0 - Expose Handler methods
Handler
methods emit()
and format()
are now exposed to allow for customization. Also now uses the new LogRecord
to pass logging information around like CPython's logging
.
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.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.