public class LoggedMessage extends SearchableEntity
Log
instance.Modifier and Type | Field and Description |
---|---|
static sirius.db.mixing.Mapping |
CATEGORY
Contains the category (name of the logger) which created the message.
|
static sirius.db.mixing.Mapping |
LEVEL
Contains the level the message was logged at.
|
static sirius.db.mixing.Mapping |
MESSAGE
Contains the message itself.
|
static sirius.db.mixing.Mapping |
NODE
Contains the node the message was logged on.
|
static sirius.db.mixing.Mapping |
TOD
Contains the timestamp when the message was logged.
|
static sirius.db.mixing.Mapping |
USER
Contains the user that was logged in, when the message was logged.
|
SEARCH_FIELD, SEARCHABLE_CONTENT
Constructor and Description |
---|
LoggedMessage() |
Modifier and Type | Method and Description |
---|---|
String |
getCategory() |
String |
getLabelClass()
Computes an appropriate CSS class used to render the message.
|
String |
getLevel() |
String |
getMessage() |
String |
getNode() |
LocalDateTime |
getTod() |
String |
getUser() |
void |
setCategory(String category) |
void |
setLevel(String level) |
void |
setMessage(String message) |
void |
setNode(String node) |
void |
setTod(LocalDateTime tod) |
void |
setUser(String user) |
addContent, addContentAsTokens, getSearchableContent, getSearchField, setSearchableContent, updateSearchField
public static final sirius.db.mixing.Mapping MESSAGE
public static final sirius.db.mixing.Mapping CATEGORY
public static final sirius.db.mixing.Mapping LEVEL
public static final sirius.db.mixing.Mapping NODE
public static final sirius.db.mixing.Mapping TOD
public static final sirius.db.mixing.Mapping USER
public String getLabelClass()
public String getMessage()
public void setMessage(String message)
public String getCategory()
public void setCategory(String category)
public String getLevel()
public void setLevel(String level)
public String getNode()
public void setNode(String node)
public LocalDateTime getTod()
public void setTod(LocalDateTime tod)
public String getUser()
public void setUser(String user)
Copyright © 2018. All rights reserved.