org.springframework.boot.logging

Class LoggingInitializationContext

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


  • public class LoggingInitializationContext
    extends java.lang.Object
    Context passed to the LoggingSystem during initialization.
    Since:
    1.3.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      org.springframework.core.env.Environment getEnvironment()
      Return the Spring environment if available.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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