Skip to content

Commit 28236b2

Browse files
committed
R use SimpleLogger instead of system.out
1 parent 128ca51 commit 28236b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

approvaltests/src/main/java/org/approvaltests/reporters/GenericDiffReporter.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import com.spun.util.SystemUtils;
55
import com.spun.util.ThreadUtils;
66
import com.spun.util.io.FileUtils;
7+
import com.spun.util.logger.SimpleLogger;
78

89
import java.io.File;
910
import java.text.MessageFormat;
@@ -104,7 +105,7 @@ public boolean checkFileExists()
104105
boolean exists = new File(diffProgram).exists();
105106
if (REPORT_MISSING_FILES && !exists)
106107
{
107-
System.out.println(String.format("%s can't find '%s'", this.getClass().getSimpleName(), diffProgram));
108+
SimpleLogger.event(String.format("%s can't find '%s'", this.getClass().getSimpleName(), diffProgram));
108109
}
109110
return exists;
110111
}

0 commit comments

Comments
 (0)