Class LogEntry
- java.lang.Object
-
- net.sourceforge.pmd.util.fxdesigner.app.services.LogEntry
-
- All Implemented Interfaces:
java.lang.Comparable<LogEntry>
public final class LogEntry extends java.lang.Object implements java.lang.Comparable<LogEntry>
Log entry of anEventLoggerImpl
.- Since:
- 6.0.0
- Author:
- Clément Fournier
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LogEntry.Category
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LogEntry
appendMessage(LogEntry newer)
int
compareTo(LogEntry o)
static LogEntry
createInternalDebugEntry(java.lang.String shortMessage, java.lang.String details, ApplicationComponent component, LogEntry.Category category, boolean trace)
static LogEntry
createUserExceptionEntry(java.lang.Throwable thrown, LogEntry.Category cat)
static LogEntry
createUserFlagEntry(java.lang.String details, LogEntry.Category flagCategory)
Just for the flag categoriesLogEntry.Category.PARSE_OK
andLogEntry.Category.XPATH_OK
, which are not rendered in the log.org.reactfx.value.Var<java.lang.String>
detailsProperty()
LogEntry.Category
getCategory()
java.util.Date
getTimestamp()
DataHolder
getUserMap()
boolean
isTrace()
boolean
isWasExamined()
org.reactfx.value.Var<java.lang.String>
messageProperty()
static <T> LogEntry
serviceRegistered(AppServiceDescriptor<T> descriptor, T service)
void
setExamined(boolean wasExamined)
org.reactfx.value.Var<java.lang.Boolean>
wasExaminedProperty()
-
-
-
Method Detail
-
getUserMap
public DataHolder getUserMap()
-
isWasExamined
public boolean isWasExamined()
-
setExamined
public void setExamined(boolean wasExamined)
-
wasExaminedProperty
public org.reactfx.value.Var<java.lang.Boolean> wasExaminedProperty()
-
getCategory
public LogEntry.Category getCategory()
-
getTimestamp
public java.util.Date getTimestamp()
-
messageProperty
public org.reactfx.value.Var<java.lang.String> messageProperty()
-
compareTo
public int compareTo(LogEntry o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<LogEntry>
-
isTrace
public boolean isTrace()
-
detailsProperty
public org.reactfx.value.Var<java.lang.String> detailsProperty()
-
createUserExceptionEntry
public static LogEntry createUserExceptionEntry(java.lang.Throwable thrown, LogEntry.Category cat)
-
createUserFlagEntry
public static LogEntry createUserFlagEntry(java.lang.String details, LogEntry.Category flagCategory)
Just for the flag categoriesLogEntry.Category.PARSE_OK
andLogEntry.Category.XPATH_OK
, which are not rendered in the log.
-
serviceRegistered
public static <T> LogEntry serviceRegistered(AppServiceDescriptor<T> descriptor, T service)
-
createInternalDebugEntry
public static LogEntry createInternalDebugEntry(java.lang.String shortMessage, java.lang.String details, ApplicationComponent component, LogEntry.Category category, boolean trace)
-
-