Package org.mockserver.log.model
Class MessageLogEntry
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.model.ObjectWithJsonToString
-
- org.mockserver.log.model.LogEntry
-
- org.mockserver.log.model.MessageLogEntry
-
public class MessageLogEntry extends LogEntry
- Author:
- jamesdbloom
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MessageLogEntry.LogMessageType
-
Constructor Summary
Constructors Constructor Description MessageLogEntry(MessageLogEntry.LogMessageType type, org.slf4j.event.Level logLevel, List<HttpRequest> httpRequests, String messageFormat, Object... arguments)
MessageLogEntry(MessageLogEntry.LogMessageType type, org.slf4j.event.Level logLevel, HttpRequest httpRequest, String messageFormat, Object... arguments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]
getArguments()
org.slf4j.event.Level
getLogLevel()
String
getMessage()
String
getMessageFormat()
MessageLogEntry.LogMessageType
getType()
-
Methods inherited from class org.mockserver.log.model.LogEntry
fieldsExcludedFromEqualsAndHashCode, getHttpRequest, getHttpRequests, getTimestamp
-
Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toString
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, hashCode, key
-
-
-
-
Constructor Detail
-
MessageLogEntry
public MessageLogEntry(MessageLogEntry.LogMessageType type, org.slf4j.event.Level logLevel, @Nullable HttpRequest httpRequest, String messageFormat, Object... arguments)
-
MessageLogEntry
public MessageLogEntry(MessageLogEntry.LogMessageType type, org.slf4j.event.Level logLevel, @Nullable List<HttpRequest> httpRequests, String messageFormat, Object... arguments)
-
-
Method Detail
-
getMessage
public String getMessage()
-
getMessageFormat
public String getMessageFormat()
-
getLogLevel
public org.slf4j.event.Level getLogLevel()
-
getType
public MessageLogEntry.LogMessageType getType()
-
getArguments
public Object[] getArguments()
-
-