mirror of
https://github.com/google/nomulus.git
synced 2025-06-27 06:44:51 +02:00
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:
parent
86dd6bd59e
commit
fc60890136
188 changed files with 217 additions and 301 deletions
|
@ -69,12 +69,12 @@ public final class RequestStatusCheckerImplTest {
|
|||
public AppEngineRule appEngineRule = AppEngineRule.builder().build();
|
||||
|
||||
@Before public void setUp() {
|
||||
RequestStatusCheckerImpl.logger.addHandler(logHandler);
|
||||
RequestStatusCheckerImpl.logger.getFormattingLogger().addHandler(logHandler);
|
||||
RequestStatusCheckerImpl.logService = mock(LogService.class);
|
||||
}
|
||||
|
||||
@After public void tearDown() {
|
||||
RequestStatusCheckerImpl.logger.removeHandler(logHandler);
|
||||
RequestStatusCheckerImpl.logger.getFormattingLogger().removeHandler(logHandler);
|
||||
}
|
||||
|
||||
// If a logId is unrecognized, it could be that the log hasn't been uploaded yet - so we assume
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue