public class MockServerLogger extends Object
Constructor and Description |
---|
MockServerLogger() |
MockServerLogger(Class<?> loggerClass) |
MockServerLogger(HttpStateHandler httpStateHandler) |
MockServerLogger(org.slf4j.Logger logger) |
Modifier and Type | Method and Description |
---|---|
static void |
configureLogger() |
static boolean |
isEnabled(org.slf4j.event.Level level) |
void |
logEvent(LogEntry logEntry) |
MockServerLogger |
setHttpStateHandler(HttpStateHandler httpStateHandler) |
static void |
writeToSystemOut(org.slf4j.Logger logger,
LogEntry logEntry) |
public MockServerLogger()
public MockServerLogger(org.slf4j.Logger logger)
public MockServerLogger(Class<?> loggerClass)
public MockServerLogger(@Nullable HttpStateHandler httpStateHandler)
public static void configureLogger()
public MockServerLogger setHttpStateHandler(HttpStateHandler httpStateHandler)
public void logEvent(LogEntry logEntry)
public static void writeToSystemOut(org.slf4j.Logger logger, LogEntry logEntry)
public static boolean isEnabled(org.slf4j.event.Level level)
Copyright © 2020. All rights reserved.