01: /**
02: *******************************************************************************
03: * Copyright (C) 2000-2004, International Business Machines Corporation and *
04: * others. All Rights Reserved. *
05: *******************************************************************************
06: */package com.ibm.icu.dev.test;
07:
08: public interface TestLog {
09:
10: /**
11: * Adds given string to the log if we are in verbose mode.
12: */
13: void log(String message);
14:
15: void logln(String message);
16:
17: /**
18: * Report an error
19: */
20: void err(String message);
21:
22: void errln(String message);
23:
24: /**
25: * Warn about missing tests or data.
26: */
27: void warn(String message);
28:
29: void warnln(String message);
30:
31: public static final int LOG = 0;
32: public static final int WARN = 1;
33: public static final int ERR = 2;
34:
35: void msg(String message, int level, boolean incCount, boolean newln);
36: }
|