LogAlertpublic class LogAlert extends Object
Fields Summary |
---|
public static final int | AT_INFORMATION | public static final int | AT_WARNING | public static final int | AT_ERROR | public static final boolean | REPEATABLE | public static final boolean | UNREPEATABLE | public int | entryType | public Throwable | err | public boolean | repeatable | public String | text | public Object[] | relatedToA list of events that this entry is related to |
Constructors Summary |
---|
public LogAlert(boolean repeatable, int type, String text)
entryType = type;
this.text = text;
this.repeatable = repeatable;
| public LogAlert(Object[] relatedTo, boolean repeatable, int type, String text)
this(repeatable, type, text);
this.relatedTo = relatedTo;
| public LogAlert(Object relatedTo, boolean repeatable, int type, String text)
this(repeatable, type, text);
this.relatedTo = new Object[] { relatedTo };
| public LogAlert(boolean repeatable, String text, Throwable err)
this(repeatable, AT_ERROR, text);
this.err = err;
| public LogAlert(Object relatedTo, boolean repeatable, String text, Throwable err)
this(repeatable, text, err);
this.relatedTo = new Object[] { relatedTo };
|
|