Migrate to internal FormattingLogger in preparation of migration to Flogger

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=197744904
This commit is contained in:
jianglai 2018-05-23 10:15:28 -07:00
parent 86dd6bd59e
commit fc60890136
188 changed files with 217 additions and 301 deletions

View file

@ -77,7 +77,7 @@ public class SessionUtilsTest {
@Before
public void before() throws Exception {
SessionUtils.logger.addHandler(testLogHandler);
SessionUtils.logger.getFormattingLogger().addHandler(testLogHandler);
sessionUtils = new SessionUtils();
sessionUtils.registryAdminClientId = ADMIN_CLIENT_ID;
persistResource(loadRegistrar(ADMIN_CLIENT_ID));
@ -86,7 +86,7 @@ public class SessionUtilsTest {
@After
public void after() throws Exception {
SessionUtils.logger.removeHandler(testLogHandler);
SessionUtils.logger.getFormattingLogger().removeHandler(testLogHandler);
}
/** User needs to be logged in before calling checkRegistrarConsoleLogin */