Record Class DevModeService.ExecutionLogEntry
java.lang.Object
java.lang.Record
ai.nervemind.app.service.DevModeService.ExecutionLogEntry
- Record Components:
timestamp- log timestamplevel- log level (INFO, etc.)nodeId- source node IDnodeName- source node namemessage- log messagedata- associated data
- Enclosing class:
DevModeService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondata()Returns the value of thedatarecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.level()Returns the value of thelevelrecord component.message()Returns the value of themessagerecord component.nodeId()Returns the value of thenodeIdrecord component.nodeName()Returns the value of thenodeNamerecord component.Returns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ExecutionLogEntry
public ExecutionLogEntry(Instant timestamp, String level, String nodeId, String nodeName, String message, Object data) Creates an instance of aExecutionLogEntryrecord class.- Parameters:
timestamp- the value for thetimestamprecord componentlevel- the value for thelevelrecord componentnodeId- the value for thenodeIdrecord componentnodeName- the value for thenodeNamerecord componentmessage- the value for themessagerecord componentdata- the value for thedatarecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
timestamp
-
level
-
nodeId
-
nodeName
-
message
-
data
-