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
-
Constructor Summary
ConstructorDescriptionLoggingInitializationContext
(org.springframework.core.env.ConfigurableEnvironment environment) Create a newLoggingInitializationContext
instance. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.core.env.Environment
Return the Spring environment if available.
-
Constructor Details
-
LoggingInitializationContext
public LoggingInitializationContext(org.springframework.core.env.ConfigurableEnvironment environment) Create a newLoggingInitializationContext
instance.- Parameters:
environment
- the Spring environment.
-
-
Method Details
-
getEnvironment
public org.springframework.core.env.Environment getEnvironment()Return the Spring environment if available.- Returns:
- the
Environment
ornull
-