Package org.springframework.boot.logging
Class LoggingInitializationContext
java.lang.Object
org.springframework.boot.logging.LoggingInitializationContext
Context passed to the
LoggingSystem
during initialization.- Since:
- 1.3.0
- Author:
- Phillip Webb
-
Constructor Summary
ConstructorDescriptionLoggingInitializationContext
(ConfigurableEnvironment environment) Create a newLoggingInitializationContext
instance. -
Method Summary
Modifier and TypeMethodDescriptionReturn the Spring environment if available.
-
Constructor Details
-
LoggingInitializationContext
Create a newLoggingInitializationContext
instance.- Parameters:
environment
- the Spring environment.
-
-
Method Details
-
getEnvironment
Return the Spring environment if available.- Returns:
- the
Environment
ornull
-