public class LogEntry extends ObjectWithJsonToString implements com.lmax.disruptor.EventTranslator<LogEntry>
| Modifier and Type | Class and Description |
|---|---|
static class |
LogEntry.LogMessageType |
| Modifier and Type | Field and Description |
|---|---|
static DateFormat |
LOG_DATE_FORMAT |
| Constructor and Description |
|---|
LogEntry() |
toStringequals, hashCode, keypublic static final DateFormat LOG_DATE_FORMAT
public void clear()
public org.slf4j.event.Level getLogLevel()
public LogEntry setLogLevel(org.slf4j.event.Level logLevel)
public long getEpochTime()
public LogEntry setEpochTime(long epochTime)
public String getTimestamp()
public LogEntry.LogMessageType getType()
public LogEntry setType(LogEntry.LogMessageType type)
public HttpRequest[] getHttpRequests()
public List<HttpRequest> getHttpRequests(HttpRequestMatcher matcher)
public boolean matches(HttpRequestMatcher matcher)
public LogEntry setHttpRequests(HttpRequest[] httpRequests)
public LogEntry setHttpRequest(HttpRequest httpRequest)
public HttpRequest getHttpRequest()
public HttpResponse getHttpResponse()
public LogEntry setHttpResponse(HttpResponse httpResponse)
public HttpError getHttpError()
public Expectation getExpectation()
public LogEntry setExpectation(Expectation expectation)
public Throwable getThrowable()
public Runnable getConsumer()
public String getMessageFormat()
public Object[] getArguments()
public String getMessage()
public void translateTo(LogEntry event, long sequence)
translateTo in interface com.lmax.disruptor.EventTranslator<LogEntry>protected String[] fieldsExcludedFromEqualsAndHashCode()
fieldsExcludedFromEqualsAndHashCode in class ObjectWithReflectiveEqualsHashCodeToStringCopyright © 2019. All rights reserved.