public class LogEvent extends BusMessage implements Serializable
detailLevel, origin, priorityLevel, summary, timeStamp| Constructor and Description |
|---|
LogEvent(String threadName,
String loggerName,
String sourceName,
String formattedDetails,
String level) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFormattedDetails() |
String |
getLevel() |
String |
getLoggerName() |
String |
getMessageType() |
String |
getSourceName() |
String |
getThreadName() |
String |
toString()
returns the "formatted details"
|
getDetailLevel, getOrigin, getPriorityLevel, getSummary, getTimeStamp, setDetailLevel, setOrigin, setPriorityLevel, setSummary, setTimeStamppublic LogEvent(String threadName, String loggerName, String sourceName, String formattedDetails, String level)
threadName - the name of the thread (important since Commands have a special name)loggerName - the name of the logger which issued the logsourceName - concatenation of the form ClassName#methodNameformattedDetails - a formatted String that represents the Log record (can be text or xml)
it is dependent on the Formatter of the Handler.level - A string representing the Levelpublic String getMessageType()
getMessageType in class BusMessagepublic String getThreadName()
public String getLoggerName()
public String getSourceName()
public String getFormattedDetails()
public String getLevel()
Copyright © 2014 LSST. All Rights Reserved.