Record Class IMcpClient.McpLogMessage
java.lang.Object
java.lang.Record
org.ek9lang.mcp.IMcpClient.McpLogMessage
- Enclosing interface:
IMcpClient
-
Constructor Summary
ConstructorsConstructorDescriptionMcpLogMessage(String level, String logger, String data) Creates an instance of aMcpLogMessagerecord class. -
Method Summary
Modifier and TypeMethodDescriptiondata()Returns the value of thedatarecord component.final booleanIndicates whether some other object is "equal to" this one.static IMcpClient.McpLogMessagefinal inthashCode()Returns a hash code value for this object.static IMcpClient.McpLogMessagelevel()Returns the value of thelevelrecord component.logger()Returns the value of theloggerrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpLogMessage
-
-
Method Details
-
info
-
error
-
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). -
level
Returns the value of thelevelrecord component.- Returns:
- the value of the
levelrecord component
-
logger
Returns the value of theloggerrecord component.- Returns:
- the value of the
loggerrecord component
-
data
Returns the value of thedatarecord component.- Returns:
- the value of the
datarecord component
-