org.springframework.boot.logging

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
    Author:
    Phillip Webb
    • Constructor Detail

      • LoggingInitializationContext

        public LoggingInitializationContext(org.springframework.core.env.ConfigurableEnvironment environment)
        Create a new LoggingInitializationContext instance.
        Parameters:
        environment - the Spring environment.
    • Method Detail

      • getEnvironment

        public org.springframework.core.env.Environment getEnvironment()
        Return the Spring environment if available.
        Returns:
        the Environment or null

Copyright © 2019 Pivotal Software, Inc.. All rights reserved.