public class LogEntry
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE_RUNTIME_WARNING
A log type warning that an exception was thrown when processing event.
|
static java.lang.String |
TYPE_SOLUTION_WARNING
A log type warning that an exception was thrown when processing event for a specific solution.
|
static java.lang.String |
TYPE_SYSTEM_WARNING
A log type warning that the system detected issues in garbage collection,
memory, locking, or thread.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
A typical equals implementation.
|
java.lang.String |
getLevel()
Get the severity of the log entry.
|
java.lang.String |
getLocalizedMessage()
Get the localized message of the log entry.
|
java.lang.String |
getSolutionVersion()
Get the source solution version of the log entry, if available.
|
long |
getTime()
Get the logging timestamp since 1970.
|
java.lang.String |
getType()
Get the type of the log entry.
|
int |
hashCode()
A typical hash implementation.
|
java.lang.String |
toString()
Returns a string version of this instance.
|
public static java.lang.String TYPE_RUNTIME_WARNING
public static java.lang.String TYPE_SOLUTION_WARNING
public static java.lang.String TYPE_SYSTEM_WARNING
public java.lang.String getType()
TYPE_RUNTIME_WARNING, LogEntry#TYPE_ROUTED_WARNING, or TYPE_SYSTEM_WARNINGpublic long getTime()
public java.lang.String getLocalizedMessage()
public java.lang.String getSolutionVersion()
public java.lang.String getLevel()
public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - The object to compare to this.Object.equals(java.lang.Object)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()© Copyright IBM 2017