Interface Configurator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String INHERITED
      Special level value signifying inherited behavior.
      static java.lang.String NULL
      Special level signifying inherited behavior, same as INHERITED.
    • Field Detail

      • INHERITED

        static final java.lang.String INHERITED
        Special level value signifying inherited behavior. The current value of this string constant is inherited. NULL is a synonym.
        See Also:
        Constant Field Values
      • NULL

        static final java.lang.String NULL
        Special level signifying inherited behavior, same as INHERITED. The current value of this string constant is null.
        See Also:
        Constant Field Values
    • Method Detail

      • doConfigure

        void doConfigure​(java.io.InputStream inputStream,
                         LoggerRepository loggerRepository)
        Interpret a resource pointed by a InputStream and set up log4j accordingly. The configuration is done relative to the hierarchy parameter.
        Parameters:
        inputStream - The InputStream to parse
        loggerRepository - The hierarchy to operation upon.
        Since:
        1.2.17
      • doConfigure

        void doConfigure​(java.net.URL url,
                         LoggerRepository loggerRepository)
        Interpret a resource pointed by a URL and set up log4j accordingly. The configuration is done relative to the hierarchy parameter.
        Parameters:
        url - The URL to parse
        loggerRepository - The hierarchy to operation upon.