Picodebug -- a tool for debugging and logging in MicroPython scripts on Raspberry Pico and Raspberry Pico W
Features:
-
Works without REPL
-
Works in main.py
-
Automatic rotation of logs
-
Using 8 log files of 100KB each, than automatically rotate: log1.txt, log2.txt, log3.txt, log4.txt, log5.txt, log6.txt, log7.txt, log8.txt
-
All debug messages are stored, not rewritten
-
Every log message is timestamped
-
Output to log files and to console
-
Just use picodebug.logPrint("some log message") in your code
-
Using, output to log file
import picodebug
picodebug.logPrint("some log message")
- Using, output to log file and console
import picodebug
picodebug.logPrint("some log message", True)
- Using, output to console only
import picodebug
picodebug.logPrint("some log message", True, False)