Package org.ametys.runtime.log
Class MemoryLogRecord
java.lang.Object
org.apache.log4j.lf5.LogRecord
org.apache.log4j.lf5.Log4JLogRecord
org.ametys.runtime.log.MemoryLogRecord
- All Implemented Interfaces:
Serializable
Log record for the Memory Appender storage needs.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the request URI associated with this LogRecord.getUser()
Get the user associated with this LogRecord.void
setRequestURI
(String requestURI) Set the request URI associated with this LogRecord.void
Set the user associated with this LogRecord.Methods inherited from class org.apache.log4j.lf5.Log4JLogRecord
isSevereLevel, setThrownStackTrace
Methods inherited from class org.apache.log4j.lf5.LogRecord
getCategory, getLevel, getLocation, getMessage, getMillis, getNDC, getNextId, getSequenceNumber, getThreadDescription, getThrown, getThrownStackTrace, hasThrown, isFatal, resetSequenceNumber, setCategory, setLevel, setLocation, setMessage, setMillis, setNDC, setSequenceNumber, setThreadDescription, setThrown, setThrownStackTrace, toString
-
Constructor Details
-
MemoryLogRecord
public MemoryLogRecord()
-
-
Method Details
-
getUser
Get the user associated with this LogRecord.- Returns:
- The user of this record.
- See Also:
-
setUser
Set the user associated with this LogRecord.- Parameters:
user
- The user.- See Also:
-
getRequestURI
Get the request URI associated with this LogRecord.- Returns:
- The request URI of this record.
- See Also:
-
setRequestURI
Set the request URI associated with this LogRecord.- Parameters:
requestURI
- The request URI.- See Also:
-