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

NativeBinaryLoader: proper logging through JUL #60

Merged
merged 5 commits into from
Mar 26, 2023

Conversation

pavly-gerges
Copy link
Member

This PR modifies the following:

  • com/jme3/alloc/util/loader/NativeBinaryLoader.java: added quickLoadLibrary() method to handle the loading and to properly log error messages internally through JUL.
  • com/jme3/alloc/util/NativeBufferUtils.java and com/jme3/alloc/util/NativeErrno.java: call the NativeBinaryLoader#quickLoadLibrary() in the static class initializers <clinit>.

@pavly-gerges pavly-gerges added enhancement New feature or request core Concerning API core code labels Mar 25, 2023
@pavly-gerges pavly-gerges added this to the API-Core-Code milestone Mar 25, 2023
@pavly-gerges
Copy link
Member Author

@Ali-RS Thanks for your contributions!

@pavly-gerges pavly-gerges merged commit 43a9b2c into master Mar 26, 2023
@pavly-gerges pavly-gerges deleted the logging-enhances branch March 26, 2023 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Concerning API core code enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[API-Logging] Replace stdout print statements with jul or slf4j logging API
2 participants