How to do a simple unit test of kotlin-loggin I want to create a simple unit test of expected logging (level and message) in a try/catch scenario.