Introduce a pluggable logging system with LogSink interfaces
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.
This commit is contained in:
1 parent
60d7a66b42
commit
57b8e4669b
7 files changed
+242
-56
No files matched your search
@@ -39,7 +39,6 @@ hs_err_pid*
|
||||
.DS_Store
|
||||
|
||||
# Maven
|
||||
log/
|
||||
target/
|
||||
|
||||
#log4j
|
||||
|
||||
Reference in new issue
Block a user