Class LogEvent
java.lang.Object
com.inductiveautomation.ignition.common.logging.LogEvent
- All Implemented Interfaces:
- Serializable
This 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:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionString[]getLevel()longvoidsetException(String[] exception) voidvoidsetLoggerName(String loggerName) voidvoidsetMessage(String message) voidsetProperties(Map<String, String> properties) voidsetSourceLocation(String sourceLocation) voidsetTimestamp(long timestamp) 
- 
Constructor Details- 
LogEventpublic LogEvent()
 
- 
- 
Method Details- 
getLoggerName
- 
setLoggerName
- 
getLevel
- 
setLevel
- 
getMessage
- 
setMessage
- 
getTimestamppublic long getTimestamp()
- 
setTimestamppublic void setTimestamp(long timestamp) 
- 
getMarker
- 
setMarker
- 
getProperties
- 
setProperties
- 
getException
- 
setException
- 
getSourceLocation
- 
setSourceLocation
 
-