1 // Copied from ICU4J 57.1 2 /** 3 ******************************************************************************* 4 * Copyright (C) 2000-2004, International Business Machines Corporation and * 5 * others. All Rights Reserved. * 6 ******************************************************************************* 7 */ 8 package com.ibm.icu.dev.test; 9 10 public interface TestLog { 11 12 /** 13 * Adds given string to the log if we are in verbose mode. 14 */ log(String message)15 void log(String message); 16 logln(String message)17 void logln(String message); 18 19 /** 20 * Report an error 21 */ err(String message)22 void err(String message); 23 errln(String message)24 void errln(String message); 25 26 /** 27 * Warn about missing tests or data. 28 */ warn(String message)29 void warn(String message); 30 warnln(String message)31 void warnln(String message); 32 33 34 public static final int LOG = 0; 35 public static final int WARN = 1; 36 public static final int ERR = 2; 37 msg(String message, int level, boolean incCount, boolean newln)38 void msg(String message, int level, boolean incCount, boolean newln); 39 } 40