Commit graph

18 commits

Author SHA1 Message Date
plally
039e6855ed
fix typo in InviteTargetEmbeddedApplication and in some comments (#1211) 2022-07-29 18:42:40 +03:00
RoJamieson
42fd45c4a3 Changed "consistancy" to "consistency" in logging.go 2020-06-08 14:01:37 +02:00
vim2meta
7086a1f2a9
Update logging.go 2017-11-19 10:11:09 -05:00
NamedKitten
48eecda67e Forgot ... (#473) 2017-11-08 07:45:27 -08:00
NamedKitten
287add05a5 Fix typo. (#466) 2017-10-24 08:09:51 -07:00
Chris Rhodes
7373a96b71 Remove trailing space. 2017-10-23 13:35:53 -07:00
NamedKitten
d30b33abfa Add support for custom logging behaviour. (#465) 2017-10-23 13:08:14 -07:00
Bruce Marriner
32229d5de5 Fix data race 2016-06-17 12:43:22 -05:00
Bruce Marriner
34c4ad5aa2 Fix data race issue 2016-06-17 11:01:34 -05:00
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