Skip to content
Success

Changes

Summary

  1. SLF4J Logger rewrite part2 (#492) (commit: e9399b7) (details)
Commit e9399b7beff67542b7ca42e202d3f9ce01ead9b8 by noreply
SLF4J Logger rewrite part2 (#492)
SLF4J stage 2 (final).
- Added SLF4J Logger (fallback) and JDA internal Factory.
- Added SLF4J to the README.
- Replaced logs using variables with lazily built logs using SLF4J
variable injection.
- Combined multi-logs into a single log message (exceptions!)
Also did:
- Added try/catch in onTextMessage to print full JSON package when an
error occurs outside of handling
- Added handling for CHANNEL_UPDATE for a not existing category
(commit: e9399b7)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/MessageCreateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/GuildBanHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/GuildMembersChunkHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/ratelimit/ClientRateLimiter.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/JDAImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/audio/Decoder.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/handle/CallUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/GuildSyncHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/RestAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/handle/ChannelRecipientAddHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/GuildRoleUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/audio/AudioConnection.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/ChannelDeleteHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/GuildRoleDeleteHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/ChannelUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/audio/factory/DefaultSendSystem.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/MessageReactionHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/VoiceStateUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/webhook/WebhookClient.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/core/utils/JDALogger.java
The file was modifiedsrc/main/java/net/dv8tion/jda/client/handle/CallDeleteHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/Request.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/utils/package-info.java (diff)
The file was modifiedREADME.md (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/TextChannelImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/WebSocketClient.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/handle/CallCreateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/hooks/AnnotatedEventManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/handle/RelationshipAddHandler.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/core/utils/SimpleLogger.java
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/AudioManager.java (diff)
The file was removedsrc/main/java/net/dv8tion/jda/core/utils/SimpleLog.java
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/MessageUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/GuildMemberUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/MessageDeleteHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/ReadyHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/Requester.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/GuildDeleteHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/impl/AudioManagerImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/Message.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/GuildImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/audio/AudioWebSocket.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/EntityBuilder.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/handle/ChannelRecipientRemoveHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/GuildLock.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/hooks/InterfacedEventManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/ratelimit/BotRateLimiter.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/handle/RelationshipRemoveHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/EventCache.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/GuildRoleCreateHandler.java (diff)