Package ortus.boxlang.runtime.util
Record Class Tracer.TracerRecord
java.lang.Object
java.lang.Record
ortus.boxlang.runtime.util.Tracer.TracerRecord
- Enclosing class:
Tracer
public static record Tracer.TracerRecord(String applicationName, Instant tracedAt, String traceLocation, String category, String type, String text, String extraInfo)
extends Record
Create a tracer record that will be tracked.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapplicationNamerecord component.category()Returns the value of thecategoryrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theextraInforecord component.final inthashCode()Returns a hash code value for this object.text()Returns the value of thetextrecord component.final StringtoString()Returns a string representation of this record class.tracedAt()Returns the value of thetracedAtrecord component.Returns the value of thetraceLocationrecord component.type()Returns the value of thetyperecord component.
-
Constructor Details
-
TracerRecord
public TracerRecord(String applicationName, Instant tracedAt, String traceLocation, String category, String type, String text, String extraInfo) Creates an instance of aTracerRecordrecord class.- Parameters:
applicationName- the value for theapplicationNamerecord componenttracedAt- the value for thetracedAtrecord componenttraceLocation- the value for thetraceLocationrecord componentcategory- the value for thecategoryrecord componenttype- the value for thetyperecord componenttext- the value for thetextrecord componentextraInfo- the value for theextraInforecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
applicationName
Returns the value of theapplicationNamerecord component.- Returns:
- the value of the
applicationNamerecord component
-
tracedAt
Returns the value of thetracedAtrecord component.- Returns:
- the value of the
tracedAtrecord component
-
traceLocation
Returns the value of thetraceLocationrecord component.- Returns:
- the value of the
traceLocationrecord component
-
category
Returns the value of thecategoryrecord component.- Returns:
- the value of the
categoryrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
text
Returns the value of thetextrecord component.- Returns:
- the value of the
textrecord component
-
extraInfo
Returns the value of theextraInforecord component.- Returns:
- the value of the
extraInforecord component
-