public class MessageCollector extends Object
LoggerFactory
, collecting all logged messages.Constructor and Description |
---|
MessageCollector() |
Modifier and Type | Method and Description |
---|---|
static List<String> |
getErrorMessages()
Getter for all error messages collected over all logger.
|
static org.slf4j.Logger |
getLogger(Class<?> cls)
Static builder for the wrapped logger.
|
static List<String> |
getWarningMessages()
Getter for all warning messages collected over all logger.
|
@Nonnull public static org.slf4j.Logger getLogger(Class<?> cls)
cls
- The class to build the logger for.MessageCollector
.@Nonnull public static List<String> getErrorMessages()
Copyright © 2020 SAP SE. All rights reserved.