mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-01 06:49:42 +00:00
Merge pull request #10000 from olegz:GH-9999
* pr/10000: Polish "Expose SpringBootCondition's logger" Expose SpringBootCondition's logger
This commit is contained in:
+8
@@ -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