|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unikassel.android.sdcframework.util.LogEvent
public final class LogEvent
The observable Log event.
Logger
Field Summary | |
---|---|
static String |
ACTION
Out custom log level intent action |
private LogLevel |
logLevel
The log level |
static String |
LOGLEVEL
The intent identifier for the log level field |
private String |
message
The log message |
static String |
MSG
The intent identifier for the message field |
private long |
timeStamp
The time stamp |
static String |
TS
The intent identifier for the time stamp field |
Constructor Summary | |
---|---|
private |
LogEvent()
Constructor |
|
LogEvent(Intent intent)
Constructor |
|
LogEvent(String message,
LogLevel logLevel,
long timeStamp)
Constructor |
Method Summary | |
---|---|
Intent |
getIntent()
Getter for an intent representation |
LogLevel |
getLogLevel()
Getter for the log level |
String |
getLongMessage()
Method to get a long string representation |
String |
getMessage()
Getter for the message |
long |
getTimeStamp()
Getter for the time stamp |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String ACTION
public static final String MSG
public static final String LOGLEVEL
public static final String TS
private final long timeStamp
private final String message
private final LogLevel logLevel
Constructor Detail |
---|
private LogEvent()
public LogEvent(String message, LogLevel logLevel, long timeStamp)
message
- the log messagelogLevel
- the log leveltimeStamp
- the time stamppublic LogEvent(Intent intent)
intent
- the intent to create fromMethod Detail |
---|
public String getMessage()
public LogLevel getLogLevel()
public final long getTimeStamp()
public final String getLongMessage()
public final String toString()
toString
in class Object
public final Intent getIntent()
BroadcastableEvent
getIntent
in interface BroadcastableEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |