1 package net.avcompris.guixer.core; 2 3 import java.io.IOException; 4 import java.lang.reflect.Method; 5 6 import javax.annotation.Nullable; 7 8 interface Logger { 9 10 void setTestContext(Class<?> testClass, Method testMethod) throws IOException; 11 12 void close() throws IOException; 13 14 void startCommand(@Nullable String actionShortDescription) throws IOException; 15 16 void startStep(String label) throws IOException; 17 18 void error(Throwable throwable) throws IOException; 19 20 void endStep() throws IOException; 21 }