Repository: logging-log4j2 Updated Branches: refs/heads/master 92d8f9a71 -> 4d639e635
Fix for Javadoc 8. Use the full 120 line width. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/4d639e63 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/4d639e63 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/4d639e63 Branch: refs/heads/master Commit: 4d639e6356252d063909f1f1859498ac9a524736 Parents: 92d8f9a Author: Gary Gregory <[email protected]> Authored: Sun Sep 28 21:13:12 2014 -0400 Committer: Gary Gregory <[email protected]> Committed: Sun Sep 28 21:13:12 2014 -0400 ---------------------------------------------------------------------- .../log4j/core/pattern/HighlightConverter.java | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/4d639e63/log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/HighlightConverter.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/HighlightConverter.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/HighlightConverter.java index f33b228..3fc0ef0 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/HighlightConverter.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/HighlightConverter.java @@ -33,39 +33,37 @@ import org.apache.logging.log4j.util.Strings; * Highlight pattern converter. Formats the result of a pattern using a color appropriate for the Level in the LogEvent. * <p> * For example: - * + * </p> + * * <pre> * %highlight{%d{ ISO8601 } [%t] %-5level: %msg%n%throwable} * </pre> - * </p> - * * <p> * You can define custom colors for each Level: - * + * </p> + * * <pre> * %highlight{%d{ ISO8601 } [%t] %-5level: %msg%n%throwable}{FATAL=red, ERROR=red, WARN=yellow, INFO=green, DEBUG=cyan, * TRACE=black} * </pre> - * </p> - * * <p> * You can use a predefined style: - * + * </p> + * * <pre> * %highlight{%d{ ISO8601 } [%t] %-5level: %msg%n%throwable}{STYLE=Log4j} * </pre> + * <p> * The available predefined styles are: + * </p> * <ul> * <li>{@code Default}</li> * <li>{@code Log4j} - The same as {@code Default}</li> * <li>{@code Logback}</li> * </ul> - * </p> - * * <p> * You can use whitespace around the comma and equal sign. The names in values MUST come from the - * {@linkplain AnsiEscape} enum, case is - * normalized to upper-case internally. + * {@linkplain AnsiEscape} enum, case is normalized to upper-case internally. * </p> */ @Plugin(name = "highlight", category = PatternConverter.CATEGORY)
