Commit graph

9 commits

Author SHA1 Message Date
Bruce Marriner
d1184ab1fd Linting comments, remove deadcode. 2016-06-14 09:15:25 -05:00
Bruce Marriner
f6de2b2c98 gateway, voice, & logging improvements
We now store teh sessionID of the gateway connection for later use. We
are now caching the gateway url and will use it until unable to connect
to that gateway.  We're not longer smashing the VoiceConnections map
during reconnects which was causing Voice problems. Slight change to
log output format.
2016-04-28 21:15:32 -05:00
Bruce Marriner
94770635a9 Event handing improvements.
Corrected the Event struct to match it's new state based on Discord docs
and started tracking sequence number and sending it with heatbeats.
Also, move cleanup and comment improvements.
2016-04-28 16:59:45 -05:00
Bruce Marriner
2b85edc4a1 comments 2016-04-28 09:26:35 -05:00
Bruce Marriner
609e7ad682 Logging code cleanup 2016-04-28 08:36:04 -05:00
Bruce Marriner
1a4bb2a004 Even more detailed comments on log levels 2016-04-26 22:00:51 -05:00
Bruce Marriner
852a968873 Comment log levels. 2016-04-26 21:34:01 -05:00
Bruce Marriner
2695ae1b21 clean up comments a little 2016-04-26 21:22:28 -05:00
Bruce Marriner
fc7ce3db94 Initial add of new logging system
This adds a LogLevel setting for both Websocket and VoiceConnections
that can be configured to set the specific log level desired. This
also adds a new logging function that adds additional helpful
information when printing out log messages.
2016-04-26 21:17:51 -05:00