public final class DefinitionProviderProblemLogger extends Object
DefinitionProvider
instance and prints its problems to the log. Severe problems are always logged, whereas major and minor ones
are only printed if isInDeveloperMode
is set to true
, otherwise only the amounts are printed.
Note: this class is for internal use only and is a subject to change at any time!Modifier and Type | Method and Description |
---|---|
<T> void |
logProblems(DefinitionProvider<T> definitionProvider) |
static DefinitionProviderProblemLogger |
withLoggingContext(org.slf4j.Logger log,
boolean isInDeveloperMode) |
public static DefinitionProviderProblemLogger withLoggingContext(org.slf4j.Logger log, boolean isInDeveloperMode)
public <T> void logProblems(DefinitionProvider<T> definitionProvider)
Copyright © 2003–2021 Magnolia International Ltd.. All rights reserved.