public class LogEvent extends Object
Java class for LogEvent complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LogEvent"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="level" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="date" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="formattedMessage" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Calendar |
date |
protected String |
formattedMessage |
protected String |
level |
Constructor and Description |
---|
LogEvent() |
Modifier and Type | Method and Description |
---|---|
Calendar |
getDate()
Gets the value of the date property.
|
String |
getFormattedMessage()
Gets the value of the formattedMessage property.
|
String |
getLevel()
Gets the value of the level property.
|
void |
setDate(Calendar value)
Sets the value of the date property.
|
void |
setFormattedMessage(String value)
Sets the value of the formattedMessage property.
|
void |
setLevel(String value)
Sets the value of the level property.
|
LogEvent |
withDate(Calendar value) |
LogEvent |
withFormattedMessage(String value) |
LogEvent |
withLevel(String value) |
protected String level
protected Calendar date
protected String formattedMessage
public String getLevel()
String
public void setLevel(String value)
value
- allowed object is
String
public Calendar getDate()
String
public void setDate(Calendar value)
value
- allowed object is
String
public String getFormattedMessage()
String
public void setFormattedMessage(String value)
value
- allowed object is
String
Copyright © 2004–2021 XWiki. All rights reserved.