[hibernate-dev] New testing utility for the Logger

Sanne Grinovero sanne at hibernate.org
Wed Mar 11 21:03:53 EDT 2015


Hi all,
since we recently had some issues to solve with the general theme
"verify X will not be logged", or sometimes we need the opposite: to
make sure that something *is* logged, I've abused a new feature of
JBoss Logger to make it easier to test.

Details on the PR:
 - https://github.com/hibernate/hibernate-orm/pull/906

I was hoping to use it in other projects too but the "catch" section
explains why that's not going to work yet, so I'd suggest start
benefiting from it in ORM 5 and then see how it evolves.

Happy logging :)

Sanne


More information about the hibernate-dev mailing list