- Type Parameters:
Id
- identifier of the log line within the search
query results (e.g. Long
line number for Elasticsearch
or the Long
timestamp in nanos for Loki)
public class LogLine<Id>
extends Object
Represents a build log line.
-
Constructor Summary
Constructors
-
Method Summary
-
Constructor Details
-
LogLine
public LogLine(@Nonnull
Id id,
@Nonnull
String message)
-
Method Details
-
getId
@Nonnull
public Id getId()
- Returns:
- the identifier of the log line within the search
query results (e.g.
Long
line number for Elasticsearch
or the Long
timestamp in nanos for Loki)
-
getMessage
@Nonnull
public String getMessage()
-