Enable ability to change mode for new logger class, add TEST_DETAIL_MODE to that class, refactor main.cpp to use the new logger