public class LogEntry
extends Object
Executionlog. Each entry consists
of a timestamp, a log level, a message, and a String indicating which entity
created the log entry ("origin").| Modifier and Type | Method and Description |
|---|---|
String |
getLevel()
Gets the log level.
|
String |
getMessage()
Gets the log message.
|
String |
getOrigin()
Gets the "origin" of the log, i.e. a String indicating where the log
entry was created.
|
Date |
getTimestamp()
Gets the timestamp.
|
boolean |
isError()
Checks if the log entry is of type ERROR.
|
boolean |
isInfo()
Checks if the log entry is of type INFO.
|
boolean |
isWarn()
Checks if the log entry is of type WARN.
|
String |
toString() |
public Date getTimestamp()
Datepublic String getLevel()
public String getMessage()
public String getOrigin()
public boolean isError()
public boolean isWarn()
public boolean isInfo()
public String toString()
toString in class ObjectCopyright (c) Salzburg Research Forschungsgesellschaft mbH. All rights reserved.