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
public class MemoryLogRecord extends Log4JLogRecord
Log record for the Memory Appender storage needs.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MemoryLogRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getRequestURI()
Get the request URI associated with this LogRecord.String
getUser()
Get the user associated with this LogRecord.void
setRequestURI(String requestURI)
Set the request URI associated with this LogRecord.void
setUser(String user)
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
-
-
-
-
Field Detail
-
_requestURI
private String _requestURI
-
-
Constructor Detail
-
MemoryLogRecord
public MemoryLogRecord()
-
-
Method Detail
-
getUser
public String getUser()
Get the user associated with this LogRecord.- Returns:
- The user of this record.
- See Also:
setUser(String)
-
setUser
public void setUser(String user)
Set the user associated with this LogRecord.- Parameters:
user
- The user.- See Also:
getUser()
-
getRequestURI
public String getRequestURI()
Get the request URI associated with this LogRecord.- Returns:
- The request URI of this record.
- See Also:
setRequestURI(String)
-
setRequestURI
public void setRequestURI(String requestURI)
Set the request URI associated with this LogRecord.- Parameters:
requestURI
- The request URI.- See Also:
getRequestURI()
-
-