Interface Configurator

All Known Implementing Classes:
DOMConfigurator, PropertyConfigurator

public interface Configurator
Implemented by classes capable of configuring log4j using a URL.
Since:
1.0
Author:
Anders Kristensen
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static String
    Special level value signifying inherited behaviour.
    static String
    Special level signifying inherited behaviour, same as INHERITED.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doConfigure​(URL url, LoggerRepository repository)
    Interpret a resource pointed by a URL and set up log4j accordingly.
  • Field Details

  • Method Details

    • doConfigure

      void doConfigure(URL url, LoggerRepository repository)
      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
      repository - The hierarchy to operation upon.