| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object which can be used to handles all status and error messages.
All methods are static - this class does not need to be instantiated
Field Summary | |
final static int | LEVEL_2 diagnostic level |
final static int | LEVEL_3 diagnostic level |
final static int | LEVEL_4 diagnostic level |
final static int | LEVEL_MAX maximum diagnostic level: produces the minimum of information |
final static int | LEVEL_MIN minimum diagnostic level: produces the maximum of information |
Method Summary | |
static void | assert(boolean condition) This does nothing except provide a breakpoint location for debugging Creation date: (9/27/99 10:37:10 AM) |
static void | assert(boolean condition, String msg) It outputs message if condition is true This provides a breakpoint location for debugging Creation date: (9/27/99 10:37:10 AM) |
static void | close() Flush the buffers and close current output file |
static void | close(String name) Flush the buffers and close current output file - when a new output file is created use the given name |
static void | flush() Flush the contents of the buffers |
static int | get_file_level() get the level which filters whether messages are saved to disk Creation date: (3/3/00 3:01:08 AM) |
static int | get_memory_level() Insert the method's description here. |
synchronized void | monitorUpdateFile(Object o) Print the given information to a file |
synchronized void | monitorUpdateMemory(Object o) Print the given information to the screen |
synchronized void | openFile(String afile) Set a file (only if it's not already been set) to dump the diagnostic output into N.B. |
static void | println() |
static void | println(Object data, Throwable exception) Receive data including exception & pass it out |
static void | println(Object data) |
static void | println(Object data, Throwable exception, int level) Receive data including exception & pass it out |
static void | println(Object data, int alevel) |
static void | println(Object data, Throwable exception, Object source) Receive data including exception & pass it out |
static void | println(Object data, Object source) |
static void | println(Object data, Throwable exception, Object source, int level) Receive data including exception & pass it out |
static void | println(Object data, Object source, int newLevel) Receive data and output it to any file set and to any process [data sink] that is attached |
static void | printStackTrace(String name, String msg) output all diagnostic messages for name |
void | set_current_level(int NewLevel) set the levelfor following messages Creation date: (3/3/00 4:08:27 AM) |
static void | setDelimiter(String delim) set a delimiter character for seperating fields in output messages |
static void | setFileLevel(int alevel) set a new level to filter which messages are stored on disk Creation date: (3/3/00 3:01:08 AM) |
static void | setMemoryLevel(int alevel) set a new level to filter which messages are sent to any attached sinks level must be in the range LEVEL_MIN to LEVEL_MAX otherwise it is ignored Creation date: (3/3/00 3:00:47 AM) |
static void | TBD(String msg) Notify user of method call which is not yet implemented - it's To Be Done Deprecate this method? |
Field Detail |
public final static int LEVEL_2
public final static int LEVEL_3
public final static int LEVEL_4
public final static int LEVEL_MAX
public final static int LEVEL_MIN
Method Detail |
public static void assert(boolean condition)
public static void assert(boolean condition, String msg)
public static void close()
public static void close(String name)
public static void flush()
public static int get_file_level()
public static int get_memory_level()
public synchronized void monitorUpdateFile(Object o)
public synchronized void monitorUpdateMemory(Object o)
public synchronized void openFile(String afile)
public static void println()
public static void println(Object data, Throwable exception)
public static void println(Object data)
public static void println(Object data, Throwable exception, int level)
public static void println(Object data, int alevel)
public static void println(Object data, Throwable exception, Object source)
public static void println(Object data, Object source)
public static void println(Object data, Throwable exception, Object source, int level)
public static void println(Object data, Object source, int newLevel)
public static void printStackTrace(String name, String msg)
public void set_current_level(int NewLevel)
public static void setDelimiter(String delim)
public static void setFileLevel(int alevel)
public static void setMemoryLevel(int alevel)
public static void TBD(String msg)
Association Links |
to Class fipaos.util.DIAGNOSTICS
to Class java.lang.String
to Class java.io.BufferedWriter
to Class fipaos.util.Queue
to Class fipaos.util.Queue
to Class fipaos.util.Monitor
to Class fipaos.util.Monitor
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |