adafruit / Adafruit_Learning_System_Guides

Programs and scripts to display "inline" in Adafruit Learning System guides

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update examples using adafruit_logging

tekktrik opened this issue · comments

Some examples use an older version adafruit_logging than the new API-breaking version 4.0.0. I can get a full list together, but wanted to create the issue to track.

@FoamyGuy - one example I noticed does actually create custom handlers, a use case we talked about. Was wondering if that changed your thoughts on bring the Handler class in alignment with CPython and adding LogRecord. Either way, the example would need to get updated, so I guess it's just a question on how.

WIth adafruit_logging 4.1.0, this is doable!

Fixed by #2197