MockLog Type — spring-boot Architecture
Architecture documentation for the MockLog type/interface in MockLog.java from the spring-boot codebase.
Entity Profile
Source Code
cli/spring-boot-cli/src/test/java/org/springframework/boot/cli/util/MockLog.java lines 26–38
public interface MockLog extends LogListener {
static MockLog attach() {
MockLog log = mock(MockLog.class);
Log.setListener(log);
return log;
}
static void clear() {
Log.setListener(null);
}
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free