Merge pull request #10000 from olegz:GH-9999
* pr/10000: Polish "Expose SpringBootCondition's logger" Expose SpringBootCondition's logger
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user