Added adaptable logging capabilities using `LogSink` implementations, including Log4j, Sentry, and Discord debug channel handlers. Centralized exception handling in `LogHandler`, introducing methods for registering and deregistering custom sinks. Implemented `LoggedException` to encapsulate exceptions with optional context and message, and refactored existing logging logic for modularity, fail-safety, and extensibility.
48 lines
469 B
Plaintext
48 lines
469 B
Plaintext
# Compiled class file
|
|
*.class
|
|
|
|
# Log file
|
|
*.log
|
|
|
|
# BlueJ files
|
|
*.ctxt
|
|
|
|
# Config file
|
|
bot.properties
|
|
|
|
# Mobile Tools for Java (J2ME)
|
|
.mtj.tmp/
|
|
|
|
# Package Files #
|
|
*.jar
|
|
*.war
|
|
*.ear
|
|
*.zip
|
|
*.tar.gz
|
|
*.rar
|
|
|
|
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
|
hs_err_pid*
|
|
|
|
# Eclipse
|
|
.classpath
|
|
.project
|
|
.settings/
|
|
|
|
# Intellij
|
|
.idea/
|
|
*.iml
|
|
*.iws
|
|
.junie/plans
|
|
|
|
# Mac
|
|
.DS_Store
|
|
|
|
# Maven
|
|
target/
|
|
|
|
#log4j
|
|
logs/
|
|
|
|
.env
|
|
docker-compose.override.yml |