| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final Printf |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private FormatStep | |
| private String | |
| public String | formatMessage(final LogRecord
the log record containing the raw message logRecord)Overrides org. Localize and format the message string from a log record. |
| public void | setSteps(final FormatStep[]
the new format steps steps)Overrides org. Assign new format steps. |
| darken | back to summary |
|---|---|
| private final int darken | |
| printf | back to summary |
|---|---|
| private final Printf printf | |
| ColorPatternFormatter | back to summary |
|---|---|
| public ColorPatternFormatter() | |
| ColorPatternFormatter | back to summary |
|---|---|
| public ColorPatternFormatter(final String pattern) | |
| ColorPatternFormatter | back to summary |
|---|---|
| public ColorPatternFormatter(int darken) | |
| ColorPatternFormatter | back to summary |
|---|---|
| public ColorPatternFormatter(int darken, final String pattern) | |
| colorize | back to summary |
|---|---|
| private FormatStep colorize(final FormatStep step) | |
| colorizePlain | back to summary |
|---|---|
| private String colorizePlain(final String str) | |
| formatMessage | back to summary |
|---|---|
| public String formatMessage(final LogRecord logRecord) Overrides org. Doc from java. Localize and format the message string from a log record. This method is provided as a convenience for Formatter subclasses to use when they are performing formatting. The message string is first localized to a format string using the record's ResourceBundle. (If there is no ResourceBundle, or if the message key is not found, then the key is used as the format string.) The format String uses java.text style formatting.
| |
| setSteps | back to summary |
|---|---|
| public void setSteps(final FormatStep[] steps) Overrides org. Doc from org. Assign new format steps.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final FormatStep | |
| private final int | |
| private final int | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | estimateLength()
Implements org. Emit an estimate of the length of data which this step will produce. |
| public FormatStep. | getItemType()
Overrides default org. Get the item type of this step. |
| public boolean | isCallerInformationRequired()
Overrides default org. Indicates whether or not caller information is required for this format step. |
| public void | render(final Formatter
the formatter to render to formatter, final StringBuilder the string builder to append to builder, final ExtLogRecord the record being rendered record)Overrides default org. Render a part of the log record to the given formatter. |
| public void | render(final StringBuilder
the string builder to append to builder, final ExtLogRecord the record being rendered record)Implements org. Render a part of the log record. |
| b | back to summary |
|---|---|
| private final int b | |
| delegate | back to summary |
|---|---|
| private final FormatStep delegate | |
| g | back to summary |
|---|---|
| private final int g | |
| r | back to summary |
|---|---|
| private final int r | |
| trueColor | back to summary |
|---|---|
| private final boolean trueColor | |
| ColorStep | back to summary |
|---|---|
| pack-priv ColorStep(final FormatStep delegate, final int r, final int g, final int b, final int darken) | |
| estimateLength | back to summary |
|---|---|
| public int estimateLength() Implements org. Doc from org. Emit an estimate of the length of data which this step will produce. The more accurate the estimate, the more likely the format operation will be performant.
| |
| getItemType | back to summary |
|---|---|
| public FormatStep. Overrides default org. Doc from org. Get the item type of this step.
| |
| isCallerInformationRequired | back to summary |
|---|---|
| public boolean isCallerInformationRequired() Overrides default org. Doc from org. Indicates whether or not caller information is required for this format step.
| |
| render | back to summary |
|---|---|
| public void render(final Formatter formatter, final StringBuilder builder, final ExtLogRecord record) Overrides default org. Doc from org. Render a part of the log record to the given formatter.
| |
| render | back to summary |
|---|---|
| public void render(final StringBuilder builder, final ExtLogRecord record) Implements org. Doc from org. Render a part of the log record.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final FormatStep | |
| private static final int | |
| private static final int | |
| private static final int | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | estimateLength()
Implements org. Emit an estimate of the length of data which this step will produce. |
| public boolean | isCallerInformationRequired()
Overrides default org. Indicates whether or not caller information is required for this format step. |
| public void | render(final Formatter
the formatter to render to formatter, final StringBuilder the string builder to append to builder, final ExtLogRecord the record being rendered record)Overrides default org. Render a part of the log record to the given formatter. |
| public void | render(final StringBuilder
the string builder to append to builder, final ExtLogRecord the record being rendered record)Implements org. Render a part of the log record. |
| darken | back to summary |
|---|---|
| private final int darken | |
| delegate | back to summary |
|---|---|
| private final FormatStep delegate | |
| LARGEST_LEVEL | back to summary |
|---|---|
| private static final int LARGEST_LEVEL | |
| SATURATION | back to summary |
|---|---|
| private static final int SATURATION | |
| SMALLEST_LEVEL | back to summary |
|---|---|
| private static final int SMALLEST_LEVEL | |
| trueColor | back to summary |
|---|---|
| private final boolean trueColor | |
| LevelColorStep | back to summary |
|---|---|
| pack-priv LevelColorStep(final FormatStep delegate, final int darken) | |
| estimateLength | back to summary |
|---|---|
| public int estimateLength() Implements org. Doc from org. Emit an estimate of the length of data which this step will produce. The more accurate the estimate, the more likely the format operation will be performant.
| |
| isCallerInformationRequired | back to summary |
|---|---|
| public boolean isCallerInformationRequired() Overrides default org. Doc from org. Indicates whether or not caller information is required for this format step.
| |
| render | back to summary |
|---|---|
| public void render(final Formatter formatter, final StringBuilder builder, final ExtLogRecord record) Overrides default org. Doc from org. Render a part of the log record to the given formatter.
| |
| render | back to summary |
|---|---|
| public void render(final StringBuilder builder, final ExtLogRecord record) Implements org. Doc from org. Render a part of the log record.
| |