Record Class LogEntry
java.lang.Object
java.lang.Record
de.luckymcdev.foundryengine.common.log.LogEntry
- Record Components:
timestamp- the timestampthread- the thread its onlevel- the log levellogger- the logger namemessage- the log message
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.format()final inthashCode()Returns a hash code value for this object.org.apache.logging.log4j.Levellevel()Returns the value of thelevelrecord component.logger()Returns the value of theloggerrecord component.message()Returns the value of themessagerecord component.thread()Returns the value of thethreadrecord component.longReturns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LogEntry
-
-
Method Details
-
format
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
timestamp
-
thread
-
level
-
logger
-
message
-