Pithikos / python-websocket-server

A simple fully working websocket-server in Python with no external dependencies
MIT License
1.15k stars 385 forks source link

Use logging module instead of prints #17

Closed ha-D closed 8 years ago

ha-D commented 8 years ago

Just changed the print to logs. Printing out the logs using 'print' makes a messy log when using websocket_server as a library.

Pithikos commented 8 years ago

Thanks for the pull request. I just have one comment. You seem to be using the logging module directly in the last two loggings (lines 257 and 288 in the commit), instead of the logger object. Is this intentional?

ha-D commented 8 years ago

Nope, wasn't intentional. Sorry about that.