|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.aicas.jamaica.util.Logger
public class Logger
Classes
| Constructor Summary | |
|---|---|
Logger()
|
|
| Method Summary | |
|---|---|
static void |
error(String source,
String msg,
Throwable cause)
print an error message |
static String |
formatError(String source,
String msg)
format an error message |
static String |
formatWarning(String source,
String msg)
format a warning message |
static void |
warning(String source,
String msg,
Throwable cause)
print a warning message |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Logger()
| Method Detail |
|---|
public static String formatError(String source,
String msg)
source - program namemsg - the error message.
public static String formatWarning(String source,
String msg)
source - program namemsg - the error message.
public static void error(String source,
String msg,
Throwable cause)
source - program namemsg - the error message.cause - the cause, null for none.
public static void warning(String source,
String msg,
Throwable cause)
source - program namemsg - the error message.cause - the cause, null for none.
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||