[Java. Logging] Add trace and arbitrary level to the LoggingTestUtils

IDEA-342483

GitOrigin-RevId: 4b86a5dc9e689b56cbecfc55c4748ac508f017d9
This commit is contained in:
Georgii Ustinov
2024-04-10 12:32:09 +03:00
committed by intellij-monorepo-bot
parent 61cbad1fe9
commit 2fc989a3bf

View File

@@ -77,6 +77,8 @@ object LoggingTestUtils {
LogBuilder atWarn();
LogBuilder atFatal();
LogBuilder atError();
LogBuilder atTrace();
LogBuilder atLevel(Level level);
boolean isInfoEnabled(){return true;}
}
""".trimIndent())
@@ -163,7 +165,8 @@ public interface Logger {
LoggingEventBuilder atInfo();
LoggingEventBuilder atDebug();
LoggingEventBuilder atWarn();
LoggingEventBuilder atError();
LoggingEventBuilder atError();
LoggingEventBuilder atTrace();
}
""".trimIndent())
}