Record Class QJavalinAccessLogger.LogEntry
java.lang.Object
java.lang.Record
com.kingsrook.qqq.backend.javalin.QJavalinAccessLogger.LogEntry
- Enclosing class:
QJavalinAccessLogger
public static record QJavalinAccessLogger.LogEntry(QJavalinAccessLogger.LogType logType, String actionName)
extends Record
input to filter method (from javalin meta data), to decide if entry should be logged.
-
Constructor Summary
ConstructorsConstructorDescriptionLogEntry(QJavalinAccessLogger.LogType logType, String actionName) Creates an instance of aLogEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theactionNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.logType()Returns the value of thelogTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LogEntry
Creates an instance of aLogEntryrecord class.- Parameters:
logType- the value for thelogTyperecord componentactionName- the value for theactionNamerecord 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). -
logType
Returns the value of thelogTyperecord component.- Returns:
- the value of the
logTyperecord component
-
actionName
Returns the value of theactionNamerecord component.- Returns:
- the value of the
actionNamerecord component
-