cz.cuni.amis.nb.pogamut.unreal.timeline.records
Class LogMessage
java.lang.Object
cz.cuni.amis.nb.pogamut.unreal.timeline.records.LogMessage
- All Implemented Interfaces:
- Serializable
public class LogMessage
- extends Object
- implements Serializable
Class that represents one time event that was passed through loggers
with mark LogEventMark with type SINGLE_EVENT.
- Author:
- Honza
- See Also:
LogEvent,
LogEvents,
Serialized Form
|
Constructor Summary |
protected |
LogMessage(LogRecord record,
cz.cuni.amis.pogamut.base.utils.logging.marks.LogEventMark mark)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogMessage
protected LogMessage(LogRecord record,
cz.cuni.amis.pogamut.base.utils.logging.marks.LogEventMark mark)
getRecord
public LogRecord getRecord()
- I am not using this for now, but it may be useful.
- Returns:
- LogRecord that was used as carrier for the mark (the mark was in the parameters).
getTime
public long getTime()
- Return timestamp when was message created.
- Returns:
getMessage
public String getMessage()
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.