bergsm / SunLights

Program to adjust TP-Link smart bulbs with the ambient sunlight
GNU General Public License v3.0
0 stars 0 forks source link

Logging #10

Closed bergsm closed 5 years ago

bergsm commented 5 years ago

I’d like to set up logging functionality. I’m pretty sure this will be as simple as turning on my trace statements and then routing the output to the log file, and maybe adding a time stamp.

bergsm commented 5 years ago

Added logging functionality by adding in print statements and redirecting stdout to a log file. More print statements and timestamping can be added in later if deemed useful.

See commit 2e8377979b7b982ba164e5803ec93aa0fdf9d4fb

bergsm commented 5 years ago

Here’s a post about adding time stamps to print statements.