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 aLogEntry
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theactionName
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.logType()
Returns the value of thelogType
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
LogEntry
Creates an instance of aLogEntry
record class.- Parameters:
logType
- the value for thelogType
record componentactionName
- the value for theactionName
record 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 thelogType
record component.- Returns:
- the value of the
logType
record component
-
actionName
Returns the value of theactionName
record component.- Returns:
- the value of the
actionName
record component
-