Class LogEntry
- java.lang.Object
-
- com.yahoo.vespa.hosted.controller.api.integration.LogEntry
-
public class LogEntry extends Object
Immutable, simple log entries.- Author:
- jonmv
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogEntry.TypeThe type of entry, used for rendering.
-
Constructor Summary
Constructors Constructor Description LogEntry(long id, Instant at, LogEntry.Type type, String message)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Instantat()booleanequals(Object o)inthashCode()longid()Stringmessage()static List<LogEntry>parseVespaLog(InputStream log, Instant from)StringtoString()LogEntry.Typetype()static LogEntry.TypetypeOf(Level level)
-
-
-
Constructor Detail
-
LogEntry
public LogEntry(long id, Instant at, LogEntry.Type type, String message)
-
-
Method Detail
-
id
public long id()
-
at
public Instant at()
-
type
public LogEntry.Type type()
-
message
public String message()
-
parseVespaLog
public static List<LogEntry> parseVespaLog(InputStream log, Instant from)
-
typeOf
public static LogEntry.Type typeOf(Level level)
-
-