Merge pull request #10000 from olegz:GH-9999

* pr/10000:
  Polish "Expose SpringBootCondition's logger"
  Expose SpringBootCondition's logger
This commit is contained in:
Stephane Nicoll
2017-08-14 11:45:34 +02:00

View File

@@ -158,4 +158,12 @@ public abstract class SpringBootCondition implements Condition {
return condition.matches(context, metadata);
}
/**
* Return the {@link Log logger} used by this instance of the condition.
* @return the {@link Log logger}
*/
protected final Log getLogger() {
return this.logger;
}
}