org.apache.logging.log4j.core.pattern
Class AbstractStyleNameConverter.Cyan
java.lang.Object
org.apache.logging.log4j.core.pattern.AbstractPatternConverter
org.apache.logging.log4j.core.pattern.LogEventPatternConverter
org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter
org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Cyan
- All Implemented Interfaces:
- PatternConverter
- Enclosing class:
- AbstractStyleNameConverter
@Plugin(name="cyan",
category="Converter")
public static final class AbstractStyleNameConverter.Cyan
- extends AbstractStyleNameConverter
Cyan style pattern converter. Adds ANSI color styling to the result of the enclosed pattern.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
protected static final String NAME
- Cyan
- See Also:
- Constant Field Values
AbstractStyleNameConverter.Cyan
public AbstractStyleNameConverter.Cyan(List<PatternFormatter> formatters,
String styling)
- Constructs the converter. This constructor must be public.
- Parameters:
formatters
- The PatternFormatters to generate the text to manipulate.styling
- The styling that should encapsulate the pattern.
newInstance
public static AbstractStyleNameConverter.Cyan newInstance(Configuration config,
String[] options)
- Gets an instance of the class (called via reflection).
- Parameters:
config
- The current Configuration.options
- The pattern options, may be null. If the first element is "short", only the first line of the
throwable will be formatted.
- Returns:
- new instance of class or null
Copyright © 1999-2015 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.