Package | Description |
---|---|
com.github.valfirst.slf4jtest |
Modifier and Type | Method and Description |
---|---|
static LoggingEvent |
LoggingEvent.debug(Map<String,String> mdc,
org.slf4j.Marker marker,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.debug(Map<String,String> mdc,
org.slf4j.Marker marker,
Throwable throwable,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.debug(Map<String,String> mdc,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.debug(Map<String,String> mdc,
Throwable throwable,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.debug(org.slf4j.Marker marker,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.debug(org.slf4j.Marker marker,
Throwable throwable,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.debug(String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.debug(Throwable throwable,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.error(Map<String,String> mdc,
org.slf4j.Marker marker,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.error(Map<String,String> mdc,
org.slf4j.Marker marker,
Throwable throwable,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.error(Map<String,String> mdc,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.error(Map<String,String> mdc,
Throwable throwable,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.error(org.slf4j.Marker marker,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.error(org.slf4j.Marker marker,
Throwable throwable,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.error(String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.error(Throwable throwable,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.fromSlf4jEvent(org.slf4j.event.LoggingEvent event)
Create a
LoggingEvent from an SLF4J LoggingEvent . |
static LoggingEvent |
LoggingEvent.fromSlf4jEvent(org.slf4j.event.LoggingEvent event,
Map<String,String> mdc)
Create a
LoggingEvent with an MDC from an SLF4J LoggingEvent . |
static LoggingEvent |
LoggingEvent.info(Map<String,String> mdc,
org.slf4j.Marker marker,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.info(Map<String,String> mdc,
org.slf4j.Marker marker,
Throwable throwable,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.info(Map<String,String> mdc,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.info(Map<String,String> mdc,
Throwable throwable,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.info(org.slf4j.Marker marker,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.info(org.slf4j.Marker marker,
Throwable throwable,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.info(String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.info(Throwable throwable,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.trace(Map<String,String> mdc,
org.slf4j.Marker marker,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.trace(Map<String,String> mdc,
org.slf4j.Marker marker,
Throwable throwable,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.trace(Map<String,String> mdc,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.trace(Map<String,String> mdc,
Throwable throwable,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.trace(org.slf4j.Marker marker,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.trace(org.slf4j.Marker marker,
Throwable throwable,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.trace(String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.trace(Throwable throwable,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.warn(Map<String,String> mdc,
org.slf4j.Marker marker,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.warn(Map<String,String> mdc,
org.slf4j.Marker marker,
Throwable throwable,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.warn(Map<String,String> mdc,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.warn(Map<String,String> mdc,
Throwable throwable,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.warn(org.slf4j.Marker marker,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.warn(org.slf4j.Marker marker,
Throwable throwable,
String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.warn(String message,
Object... arguments) |
static LoggingEvent |
LoggingEvent.warn(Throwable throwable,
String message,
Object... arguments) |
Modifier and Type | Method and Description |
---|---|
Predicate<LoggingEvent> |
TestLoggerAssert.PredicateBuilder.build() |
List<LoggingEvent> |
TestLogger.getAllLoggingEvents()
Get all
LoggingEvent s logged on this logger by ANY thread. |
static List<LoggingEvent> |
TestLoggerFactory.getAllLoggingEvents() |
List<LoggingEvent> |
TestLoggerFactory.getAllLoggingEventsFromLoggers() |
List<LoggingEvent> |
TestLogger.getLoggingEvents()
Get all
LoggingEvent s logged on this logger by this thread. |
static List<LoggingEvent> |
TestLoggerFactory.getLoggingEvents() |
List<LoggingEvent> |
TestLoggerFactory.getLoggingEventsFromLoggers() |
Modifier and Type | Method and Description |
---|---|
TestLoggerAssert |
TestLoggerAssert.hasLogged(LoggingEvent event)
Verify that a
LoggingEvent has been logged by the test logger. |
TestLoggerAssert |
TestLoggerAssert.hasNotLogged(LoggingEvent event)
Verify that a
LoggingEvent has not been logged by the test logger. |
Modifier and Type | Method and Description |
---|---|
TestLoggerAssert |
TestLoggerAssert.hasLogged(Predicate<LoggingEvent> predicate)
Verify that a
LoggingEvent satisfying the provided predicate has been logged by the
test logger. |
TestLoggerAssert |
TestLoggerAssert.hasNotLogged(Predicate<LoggingEvent> predicate)
Verify that a
LoggingEvent satisfying the provided predicate has _not_ been logged by
the test logger. |
Copyright © 2023. All rights reserved.