Convenience function to acquire a lock on the SLF4D logging state and run some code, then reset the logging state and release the lock.
The code to run.
See Implementation
Convenience function to acquire a lock on the SLF4D logging state and run some code, then reset the logging state and release the lock.