This can be convenient, especially when one wants to emit a warning that will show up when running the test suite but still be properly logged in production