I am using JUnit 4 to write Android test cases (these tests are not using the Emulator and are running as native tests). Within my code I use SL4J for logging, however when I run the unit tests, I am not able to see any of the logging output. For example statements such as the following:
private static final Logger logger = LoggerFactory.getLogger(AClass.class);
logger.warn("log output not visible in unit test");
Any ideas on if it is possible to get access to the logger output in unit tests?
Regards,