public class MockServerLogger extends Object
Modifier and Type | Field and Description |
---|---|
static MockServerLogger |
MOCK_SERVER_LOGGER |
Constructor and Description |
---|
MockServerLogger() |
MockServerLogger(Class loggerClass) |
MockServerLogger(org.slf4j.Logger logger,
HttpStateHandler httpStateHandler) |
Modifier and Type | Method and Description |
---|---|
void |
debug(MessageLogEntry.LogMessageType type,
HttpRequest request,
String message,
Object... arguments) |
void |
debug(MessageLogEntry.LogMessageType type,
String message,
Object... arguments) |
void |
error(HttpRequest request,
String message,
Object... arguments) |
void |
error(HttpRequest request,
Throwable throwable,
String message,
Object... arguments) |
void |
error(List<HttpRequest> requests,
Throwable throwable,
String message,
Object... arguments) |
void |
error(String message,
Object... arguments) |
void |
error(String message,
Throwable throwable) |
void |
info(MessageLogEntry.LogMessageType type,
HttpRequest request,
String message,
Object... arguments) |
void |
info(MessageLogEntry.LogMessageType type,
List<HttpRequest> requests,
String message,
Object... arguments) |
void |
info(MessageLogEntry.LogMessageType type,
String message,
Object... arguments) |
boolean |
isEnabled(org.slf4j.event.Level level) |
static void |
setRootLogLevel(String name) |
void |
trace(HttpRequest request,
String message,
Object... arguments) |
void |
trace(String message,
Object... arguments) |
void |
warn(HttpRequest request,
String message,
Object... arguments) |
void |
warn(String message) |
void |
warn(String message,
Object... arguments) |
public static final MockServerLogger MOCK_SERVER_LOGGER
public MockServerLogger()
public MockServerLogger(Class loggerClass)
public MockServerLogger(org.slf4j.Logger logger, @Nullable HttpStateHandler httpStateHandler)
public static void setRootLogLevel(String name)
public void trace(HttpRequest request, String message, Object... arguments)
public void debug(MessageLogEntry.LogMessageType type, String message, Object... arguments)
public void debug(MessageLogEntry.LogMessageType type, HttpRequest request, String message, Object... arguments)
public void info(MessageLogEntry.LogMessageType type, String message, Object... arguments)
public void info(MessageLogEntry.LogMessageType type, HttpRequest request, String message, Object... arguments)
public void info(MessageLogEntry.LogMessageType type, List<HttpRequest> requests, String message, Object... arguments)
public void warn(String message)
public void warn(@Nullable HttpRequest request, String message, Object... arguments)
public void error(@Nullable HttpRequest request, String message, Object... arguments)
public void error(@Nullable HttpRequest request, Throwable throwable, String message, Object... arguments)
public void error(List<HttpRequest> requests, Throwable throwable, String message, Object... arguments)
public boolean isEnabled(org.slf4j.event.Level level)
Copyright © 2018. All rights reserved.