java.lang.Object
com.inductiveautomation.ignition.common.logging.LogEvent
All Implemented Interfaces:
Serializable

public class LogEvent extends Object implements 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 Details

    • LogEvent

      public LogEvent()
  • Method Details

    • getLoggerName

      public String getLoggerName()
    • setLoggerName

      public void setLoggerName(String loggerName)
    • getLevel

      public Level getLevel()
    • setLevel

      public void setLevel(Level level)
    • getMessage

      public String getMessage()
    • setMessage

      public void setMessage(String message)
    • getTimestamp

      public long getTimestamp()
    • setTimestamp

      public void setTimestamp(long timestamp)
    • getMarker

      public String getMarker()
    • setMarker

      public void setMarker(String marker)
    • getProperties

      public Map<String,String> getProperties()
    • setProperties

      public void setProperties(Map<String,String> properties)
    • getException

      public String[] getException()
    • setException

      public void setException(String[] exception)
    • getSourceLocation

      public String getSourceLocation()
    • setSourceLocation

      public void setSourceLocation(String sourceLocation)