Skip to content

Releases: adafruit/Adafruit_CircuitPython_Logging

4.0.0 - Modified to be a CPython logging subset

03 Jun 15:20
255dfff
Compare
Choose a tag to compare

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 Logger is the only logger, other loggers have been converted into Handler or subclasses of it.
  • The previous PrintLogger has been changed to StreamHandler, with the default stream argument to sys.stderr, and should be treated as a handler as opposed to a logger.
  • Logger can 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 change
  • FileHandler was moved, and is imported from the main file (e.g. from adafruit_logging import FileHandler)
  • FileHandler is now a subclass of StreamHandler

Additionally:

  • The module has been flattened to a single file
  • setup.py has 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

07 May 00:53
5b6c29c
Compare
Choose a tag to compare

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

04 Feb 21:01
Compare
Choose a tag to compare

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

24 Jan 18:00
31f6ba9
Compare
Choose a tag to compare

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

12 Dec 16:09
7a188fe
Compare
Choose a tag to compare

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

19 Nov 20:16
8d0fb42
Compare
Choose a tag to compare

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

15 Nov 19:07
Compare
Choose a tag to compare

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

02 Nov 15:26
8c24793
Compare
Choose a tag to compare

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.

1.2.9 Added typing information

28 Oct 00:50
b868341
Compare
Choose a tag to compare

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.

1.2.8 - Improved logging by adding "Null Logger"

19 Mar 17:16
d61dc59
Compare
Choose a tag to compare

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.