You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2016/07/07 08:28:49 UTC
[2/3] logging-log4j2 git commit: Javadoc. Better pnames.
Javadoc. Better pnames.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/04da51bf
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/04da51bf
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/04da51bf
Branch: refs/heads/StyledMessage
Commit: 04da51bf9e6f5691b61bcf30e3992942f096ce6c
Parents: b8feaaf
Author: ggregory <gg...@apache.org>
Authored: Thu Jul 7 01:25:26 2016 -0700
Committer: ggregory <gg...@apache.org>
Committed: Thu Jul 7 01:25:26 2016 -0700
----------------------------------------------------------------------
.../log4j/core/pattern/MessageRenderer.java | 55 ++++++++++++--------
1 file changed, 32 insertions(+), 23 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/04da51bf/log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/MessageRenderer.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/MessageRenderer.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/MessageRenderer.java
index e27cd99..3612403 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/MessageRenderer.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/MessageRenderer.java
@@ -1,23 +1,32 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache license, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the license for the specific language governing permissions and
- * limitations under the license.
- */
-package org.apache.logging.log4j.core.pattern;
-
-public interface MessageRenderer {
-
- void render(StringBuilder source, StringBuilder target);
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache license, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the license for the specific language governing permissions and
+ * limitations under the license.
+ */
+package org.apache.logging.log4j.core.pattern;
+
+/**
+ * Renders an input to an output.
+ */
+public interface MessageRenderer {
+
+ /**
+ * Renders an input to an output.
+ *
+ * @param input
+ * @param output
+ */
+ void render(StringBuilder input, StringBuilder output);
+
+}