-
Notifications
You must be signed in to change notification settings - Fork 20
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
Use java logger when loader logger api isn't available #159
base: main
Are you sure you want to change the base?
Use java logger when loader logger api isn't available #159
Conversation
...ric-logger-api-v1/common/src/main/java/net/legacyfabric/fabric/impl/logger/LoggerHelper.java
Outdated
Show resolved
Hide resolved
# Conflicts: # gradle.properties
/** | ||
* Represents a boolean value which can be true, false or refer to a default value. | ||
*/ | ||
public enum TriState { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wait why does this exist
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/Legacy-Fabric/fabric/blob/main/legacy-fabric-api-base/common/src/main/java/net/legacyfabric/fabric/api/util/TriState.java exists already. I think sponge command api uses it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logger-api was supposed to be a standalone module, and technically every module depends on it so... what should we do in this case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logger-api was supposed to be a standalone module, and technically every module depends on it so... what should we do in this case?
that's fine, logger api could depend on api base. could also move logger api into api base
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, I know some projects that uses it outside of LegacyFabric too...
Supersedes #145
Should fix crash with Quilt even tho we don't officially support it.