Class LoggingInitializationContext

java.lang.Object
org.springframework.boot.logging.LoggingInitializationContext

public class LoggingInitializationContext extends Object
Context passed to the LoggingSystem during initialization.
Since:
1.3.0
  • Constructor Details

    • LoggingInitializationContext

      public LoggingInitializationContext(org.springframework.core.env.ConfigurableEnvironment environment)
      Create a new LoggingInitializationContext 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 or null