Skip to content

Conversation

@ilia1243
Copy link
Contributor

@ilia1243 ilia1243 commented May 9, 2025

  • Log messaged are now lazily evaluated.
  • Util.logPrintf is made deprecated.

Fixes: #452

@CLAassistant
Copy link

CLAassistant commented May 9, 2025

CLA assistant check
All committers have signed the CLA.

@hsluoyz
Copy link
Member

hsluoyz commented May 10, 2025

@ilia1243 need to keep backward-compatibility

@ilia1243
Copy link
Contributor Author

@ilia1243 need to keep backward-compatibility

Done, but still propose to make old method deprecated, becauses SLF4J states that their approach is faster. https://www.slf4j.org/faq.html#logging_performance

@hsluoyz hsluoyz merged commit 97a3bdd into casbin:master Jun 7, 2025
4 checks passed
@github-actions
Copy link

github-actions bot commented Jun 7, 2025

🎉 This PR is included in version 1.82.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Optimizations when logging is disabled

3 participants