org.apache.log4j.chainsaw.color

## Interface Colorizer

- All Known Implementing Classes:
    RuleColorizer

      public interface Colorizer

  Given a LoggingEvent, can determine an appropriate Color to use based on whatever this implementation has been coded.
  Author:
    Paul Smith <psmith@apache.org>, Scott Deboy <sdeboy@apache.org>

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Color` | `getBackgroundColor(org.apache.log4j.spi.LoggingEvent event)` Given a LoggingEvent, returns a Color to use for background, or null if this instance cannot determine one, or that the stanard color should be used.
    `Color` | `getForegroundColor(org.apache.log4j.spi.LoggingEvent event)`

- - ### Method Detail

    - #### getBackgroundColor

          Color getBackgroundColor(org.apache.log4j.spi.LoggingEvent event)

      Given a LoggingEvent, returns a Color to use for background, or null if this instance cannot determine one, or that the stanard color should be used.
      Parameters:
        `event` -
      Returns:
        background color

    - #### getForegroundColor

          Color getForegroundColor(org.apache.log4j.spi.LoggingEvent event)

Copyright © 2002-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache Chainsaw, Chainsaw, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.