js/model/logEvent.js
/**
 * Constructs a LogEvents given the log text, a {@link VectorTimestamp} and the
 * line number associated with this log event <>
 * 
 * @classdesc
 * 
 * A LogEvent represents a single event from the raw log and contains the text
 * of the log, a reference to the {@link VectorTimestamp}, and other contextual
 * information. LogEvents are immutable.
 * 
 * @constructor
 * @param {String} text the text of the log (description)
 * @param {VectorTimestamp} vectorTimestamp the vector timestamp of the log
 * @param {Number} lineNum the line number of the event in the log
 * @param {?Object<String, String>} [fields={}] a mapping of field names to
 *            field values extracted using regex.
 */
Constructs a LogEvents given the log text, a  VectorTimestamp and the
line number associated with this log event <>

@classdesc

A LogEvent represents a single event from the raw log and contains the text
of the log, a reference to the  VectorTimestamp, and other contextual
information.


Constructs a LogEvents given the log text a VectorTimestamp and the line number associated with this log event < > @classdesc A LogEvent represents a single event from the raw log and contains the text of the log a reference to the VectorTimestamp and other contextual information .
function LogEvent(text, vectorTimestamp, lineNum, fields) {
    this.id = LogEvent.id++;
    this.text = text;
    this.host = vectorTimestamp.getOwnHost();
    this.vectorTimestamp = vectorTimestamp;
    this.lineNum = lineNum;
    this.fields = Util.objectShallowCopy(fields) || {};
}
function LogEvent ( text , vectorTimestamp , lineNum , fields ) { this . id = LogEvent . id ++ ; this . text = text ; this . host = vectorTimestamp . getOwnHost ( ) ; this . vectorTimestamp = vectorTimestamp ; this . lineNum = lineNum ; this . fields = Util . objectShallowCopy ( fields ) || { } ; }
Constructs a LogEvents given the log text, a {@link VectorTimestamp} and the
 line number associated with this log event <>
Constructs a LogEvents given the log text a { @link VectorTimestamp } and the line number associated with this log event < >
/** @private */ /** @private */ /** @private */ /** @private */ /** @private */ /** @private */