@Immutable @ThreadSafe @ProviderType public class LogEntry extends java.lang.Object
LogEntry object contains all the information associated to a device log message. The log message can be
produced by the operating system, the framework, a bundle in the framework or other generic resource.| Constructor and Description |
|---|
LogEntry(java.util.Map<java.lang.String,java.lang.Object> readProperties)
Instantiates a new
LogEntry |
LogEntry(java.util.Map<java.lang.String,java.lang.Object> readProperties,
long timestamp)
Instantiates a new
LogEntry |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
Returns the log properties
|
long |
getTimestamp() |
java.lang.String |
toString() |
public LogEntry(java.util.Map<java.lang.String,java.lang.Object> readProperties)
LogEntryreadProperties - a Map representing the properties in a key-value formatpublic LogEntry(java.util.Map<java.lang.String,java.lang.Object> readProperties,
long timestamp)
LogEntryreadProperties - a Map representing the properties in a key-value formattimestamp - a long representing the source timestamppublic java.util.Map<java.lang.String,java.lang.Object> getProperties()
public long getTimestamp()
public java.lang.String toString()
toString in class java.lang.Object