Class LogEvent
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.logging.LogEvent
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class LogEvent extends java.lang.Object implements java.io.SerializableThis is a general purpose representation of a logging event. It is meant to be transportable, serializable, etc. It loses a bit of the definition of the /real/ events generated by the underlying log system, but often that detail is lost after storing and trying to retrieve from that store again anyhow (for example, if we store events in a db).This class also insulates us from changes to the underlying logging system. - See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description LogEvent()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]getException()LevelgetLevel()java.lang.StringgetLoggerName()java.lang.StringgetMarker()java.lang.StringgetMessage()java.util.Map<java.lang.String,java.lang.String>getProperties()java.lang.StringgetSourceLocation()longgetTimestamp()voidsetException(java.lang.String[] exception)voidsetLevel(Level level)voidsetLoggerName(java.lang.String loggerName)voidsetMarker(java.lang.String marker)voidsetMessage(java.lang.String message)voidsetProperties(java.util.Map<java.lang.String,java.lang.String> properties)voidsetSourceLocation(java.lang.String sourceLocation)voidsetTimestamp(long timestamp)
 
- 
- 
- 
Method Detail- 
getLoggerNamepublic java.lang.String getLoggerName() 
 - 
setLoggerNamepublic void setLoggerName(java.lang.String loggerName) 
 - 
getLevelpublic Level getLevel() 
 - 
setLevelpublic void setLevel(Level level) 
 - 
getMessagepublic java.lang.String getMessage() 
 - 
setMessagepublic void setMessage(java.lang.String message) 
 - 
getTimestamppublic long getTimestamp() 
 - 
setTimestamppublic void setTimestamp(long timestamp) 
 - 
getMarkerpublic java.lang.String getMarker() 
 - 
setMarkerpublic void setMarker(java.lang.String marker) 
 - 
getPropertiespublic java.util.Map<java.lang.String,java.lang.String> getProperties() 
 - 
setPropertiespublic void setProperties(java.util.Map<java.lang.String,java.lang.String> properties) 
 - 
getExceptionpublic java.lang.String[] getException() 
 - 
setExceptionpublic void setException(java.lang.String[] exception) 
 - 
getSourceLocationpublic java.lang.String getSourceLocation() 
 - 
setSourceLocationpublic void setSourceLocation(java.lang.String sourceLocation) 
 
- 
 
-