public class LogEntry extends java.lang.Object implements InfoMessage
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
context |
(package private) java.lang.String |
htmlText |
(package private) java.lang.String |
logEntryTemplate |
(package private) int |
severity |
(package private) java.lang.String |
text |
(package private) java.lang.String |
timestamp |
ERROR, FATAL, INFO, textLevels, UNKNOWN, WARNING
Constructor and Description |
---|
LogEntry(int level,
java.lang.String msg) |
LogEntry(int level,
java.lang.String ctx,
java.lang.String msg) |
LogEntry(java.lang.String s) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContext() |
java.lang.String |
getHTML() |
int |
getLevel() |
java.lang.String |
getPlainText() |
boolean |
sameAs(InfoMessage im) |
java.lang.String timestamp
int severity
java.lang.String context
java.lang.String text
java.lang.String logEntryTemplate
java.lang.String htmlText
public LogEntry(java.lang.String s)
public LogEntry(int level, java.lang.String msg)
public LogEntry(int level, java.lang.String ctx, java.lang.String msg)
public java.lang.String getPlainText()
getPlainText
in interface InfoMessage
public java.lang.String getHTML()
getHTML
in interface InfoMessage
public int getLevel()
getLevel
in interface InfoMessage
public java.lang.String getContext()
getContext
in interface InfoMessage
public boolean sameAs(InfoMessage im)
sameAs
in interface InfoMessage
Copyright © 2013. All Rights Reserved.