Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency Updates #6

Merged
merged 4 commits into from
Jun 1, 2023
Merged

Dependency Updates #6

merged 4 commits into from
Jun 1, 2023

Conversation

SebastianKuehn
Copy link
Contributor

Using logunit with a recent logback toolchain causes RuntimeExceptions like:

Receiver class io.github.netmikey.logunit.logback.LogbackLogProvider$1 does not define or inherit an implementation of the resolved method 'abstract java.util.List getKeyValuePairs()' of interface org.slf4j.event.LoggingEvent

This PR adds support for the new features of slf4j Version 2 and Logback 1.3/1.4, while maintaining compatibility with Java 8. It also updates Log4j and JUnit.

This prevents commits of files from IntelliJ.
This commit updates the dependencies logback and slf4j to the current
versions. Logback 1.3.* is used to keep supporting Java 8. The new
methods allow access to key-value pairs and markers.
This commit replaces the deprecated createLogger-API with the use of an
builder.
@netmikey netmikey merged commit 505d7fa into netmikey:master Jun 1, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants