-
Notifications
You must be signed in to change notification settings - Fork 3
Utilize the logging module in python instead of print statements #25
Comments
Current Smokey actually doesn't have a load of print statements any more; I replaced them with |
It's still a print statement. With true logging we can do something like this: helper.py
ws.py
module1.py
When
We can make this even easier for troubleshooting by modifying the
Which changes the log to:
Notice on the second line we now have the |
That'd work, yeah. |
The first commits for this are in my Branch_logging branch. Right now, a basic start up, login, respond to a simple command looks like this:
I've got everything being logged right now, but will probably change that to be To do:
|
Current Smokey has print lines all over the place. We should utilize the logging module instead.
Benefits:
The text was updated successfully, but these errors were encountered: