@Deprecated
public final class LogEvent
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
LogEvent()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCategory()
Deprecated.
Get the category that LogEvent relates to.
|
ContextMap |
getContextMap()
Deprecated.
Get ContextMap associated with LogEvent
|
java.lang.String |
getMessage()
Deprecated.
Get the message associated with event.
|
Priority |
getPriority()
Deprecated.
Get Priority for LogEvent.
|
long |
getRelativeTime()
Deprecated.
Get the time of the log event relative to start of application.
|
java.lang.Throwable |
getThrowable()
Deprecated.
Get throwable instance associated with event.
|
long |
getTime()
Deprecated.
Get the absolute time of the log event.
|
void |
setCategory(java.lang.String category)
Deprecated.
Set the LogEvent category.
|
void |
setContextMap(ContextMap contextMap)
Deprecated.
Set the ContextMap for this LogEvent.
|
void |
setMessage(java.lang.String message)
Deprecated.
Set the message for LogEvent.
|
void |
setPriority(Priority priority)
Deprecated.
Set the priority of LogEvent.
|
void |
setThrowable(java.lang.Throwable throwable)
Deprecated.
Set the throwable for LogEvent.
|
void |
setTime(long time)
Deprecated.
Set the absolute time of LogEvent.
|
public final Priority getPriority()
public final void setPriority(Priority priority)
priority - the new LogEvent prioritypublic final ContextMap getContextMap()
public final void setContextMap(ContextMap contextMap)
contextMap - the context mappublic final java.lang.String getCategory()
public final java.lang.String getMessage()
public final java.lang.Throwable getThrowable()
public final long getTime()
public final long getRelativeTime()
public final void setCategory(java.lang.String category)
category - the categorypublic final void setMessage(java.lang.String message)
message - the messagepublic final void setThrowable(java.lang.Throwable throwable)
throwable - the instance of Throwablepublic final void setTime(long time)
time - the timeCopyright © 1998-2018 Apache Software Foundation. All Rights Reserved.