public class LogMessage extends BusMessage
| Constructor and Description |
|---|
LogMessage(String threadName,
String loggerName,
String sourceName,
String formattedDetails,
String level) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFormattedDetails() |
String |
getLevel() |
String |
getLoggerName() |
String |
getSourceName() |
String |
getThreadName() |
String |
toString()
returns the "formatted details"
|
equals, getOriginAgentInfo, getSummary, getTimeStamp, hashCode, setOriginAgentInfo, setSummarypublic LogMessage(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 LevelCopyright © 2015 LSST. All rights reserved.